projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7cace
)
scripts/env: fix remaining shellcheck warning
author
Petr Štetiar
<ynezz@true.cz>
Sat, 11 Jul 2020 11:20:34 +0000
(13:20 +0200)
committer
Petr Š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
patch
|
blob
|
history
diff --git
a/scripts/env
b/scripts/env
index c81fbf8ddc294e1950b9791c88e8f6bb5b01cb55..726a354b57f5c8f7250b25c9ffc221ca1bb9937d 100755
(executable)
--- a/
scripts/env
+++ b/
scripts/env
@@
-22,7
+22,7
@@
Commands:
Options:
EOF
- exit
${1:-1}
+ exit
"${1:-1}"
}
error() {