aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-07-11 13:20:34 +0200
committerPetr Štetiar <ynezz@true.cz>2020-07-11 13:33:28 +0200
commit227e47b3ca964939f41c3564dd7da72d60044d00 (patch)
tree719d3a307953c59f4db0789a9d060eb5f2ce4095
parent5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d (diff)
downloadupstream-227e47b3ca964939f41c3564dd7da72d60044d00.tar.gz
upstream-227e47b3ca964939f41c3564dd7da72d60044d00.tar.bz2
upstream-227e47b3ca964939f41c3564dd7da72d60044d00.zip
scripts/env: fix remaining shellcheck warning
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>
-rwxr-xr-xscripts/env2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/env b/scripts/env
index c81fbf8ddc..726a354b57 100755
--- a/scripts/env
+++ b/scripts/env
@@ -22,7 +22,7 @@ Commands:
Options:
EOF
- exit ${1:-1}
+ exit "${1:-1}"
}
error() {