projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584376f
)
usr_sbin/noeject: Fix a couple of shellcheck warnings
author
Darshaka Pathirana
<dpat@syn-net.org>
Fri, 5 Mar 2021 16:44:24 +0000
(17:44 +0100)
committer
Darshaka Pathirana
<dpat@syn-net.org>
Fri, 3 Dec 2021 11:54:54 +0000
(12:54 +0100)
- SC2048: Use "$@" (with quotes) to prevent whitespace problems.
- SC2086: Double quote to prevent globbing and word splitting.
usr_sbin/noeject
patch
|
blob
|
history
diff --git
a/usr_sbin/noeject
b/usr_sbin/noeject
index
972e331
..
e45e4be
100755
(executable)
--- a/
usr_sbin/noeject
+++ b/
usr_sbin/noeject
@@
-7,6
+7,6
@@
################################################################################
touch /etc/noeject
-exec
$*
+exec
"$@"
## END OF FILE #################################################################