Explorar el Código

Quiet systemctl output for uninstall()

bryan hace 2 días
padre
commit
e6f0c91eca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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