debian: make ShellCheck happy

This commit is contained in:
Marek Marczykowski-Górecki 2019-01-15 21:10:27 +01:00
parent 1f41ee0e41
commit 6799aad15e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

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