소스 검색

Quiet systemctl output for uninstall()

bryan 2 일 전
부모
커밋
e6f0c91eca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -1563,7 +1563,7 @@ uninstall() {
       set_service_vars "$service" "$type"; 
       for unit in "$SERVICE_NAME" "$TIMER_NAME"; do
         if "${IS_ACTIVE[@]}" "$unit" || 
-        "${IS_ENABLED[@]}" "$unit"; then
+        "${IS_ENABLED[@]}" "$unit" &>/dev/null; then
           "${DISABLE[@]}" "$unit"
         fi
       done