-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
shellcheck result:
In intelmq-tutorial/ansible/files/reset-intelmq.sh line 5:
[ "root" != "$USER" ] && exec sudo $0 "$@"
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
[ "root" != "$USER" ] && exec sudo "$0" "$@"
In intelmq-tutorial/ansible/files/tutorial-to-html.sh line 5:
[ "user" != "$USER" ] && exec sudo -u user $0 "$@"
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
[ "user" != "$USER" ] && exec sudo -u user "$0" "$@"
In intelmq-tutorial/ansible/files/tutorial-to-html.sh line 9:
sudo chown $USER $DIR
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
sudo chown "$USER" $DIR
In intelmq-tutorial/ansible/files/tutorial-update.sh line 5:
[ "user" != "$USER" ] && exec sudo -u user $0 "$@"
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
[ "user" != "$USER" ] && exec sudo -u user "$0" "$@"
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers