Parcourir la source

debian: make ShellCheck happy

Marek Marczykowski-Górecki il y a 5 ans
Parent
commit
6799aad15e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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" ]