scripts/env: fix remaining shellcheck warning
authorPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 11:20:34 +0000 (13:20 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 11:33:28 +0000 (13:33 +0200)
Fixes following shellcheck warning:

 In scripts/env line 25:
  exit ${1:-1}
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
scripts/env

index c81fbf8ddc294e1950b9791c88e8f6bb5b01cb55..726a354b57f5c8f7250b25c9ffc221ca1bb9937d 100755 (executable)
@@ -22,7 +22,7 @@ Commands:
 Options:
 
 EOF
-       exit ${1:-1}
+       exit "${1:-1}"
 }
 
 error() {