Small tunings
This commit is contained in:
@@ -4,7 +4,7 @@ set -E -o errexit -o nounset -o pipefail
|
||||
|
||||
USER_FILE="/etc/sudoers.d/$USER"
|
||||
|
||||
if [ -f $USER_FILE ]; then
|
||||
if [[ -f $USER_FILE ]]; then
|
||||
echo "Sudo file $USER_FILE already exists!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user