Small tunings

This commit is contained in:
lachtan
2024-03-23 07:59:16 +01:00
parent 2256cd3107
commit 1bbb372856
4 changed files with 13 additions and 12 deletions

View File

@@ -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