Browse Source

debian: make ShellCheck happy

Marek Marczykowski-Górecki 5 years ago
parent
commit
6799aad15e
1 changed files with 1 additions and 1 deletions
  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" ]