Explorar el Código

debian: make ShellCheck happy

Marek Marczykowski-Górecki hace 5 años
padre
commit
6799aad15e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      debian/qubes-core-agent.postinst

+ 1 - 1
debian/qubes-core-agent.postinst

@@ -65,7 +65,7 @@ preset_units() {
             continue
         fi
         echo "$action $unit_name" | grep -q '^[[:space:]]*[^#;]' || continue
-        if ! [ -n "$action" ] || ! [ -n "$unit_name" ]; then
+        if [ -z "$action" ] || [ -z "$unit_name" ]; then
             continue
         fi
         if [ "$2" = "initial" ] || [ "$represet" = "1" ]