Another minor fix

This commit is contained in:
deajan 2017-02-07 21:09:36 +01:00
parent 7fc9a2c4fb
commit 33413fe80d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ function RemoveSudoers {
} }
if [ "$1" == "set" ]; then if [ "$1" == "set" ]; then
if getent passwd | grep -v "$testUser" > /dev/null 2>&1; then if ! getent passwd | grep "$testUser" > /dev/null; then
echo "Manual creation of $testUser with homedir $testUserHome" echo "Manual creation of $testUser with homedir $testUserHome"
adduser "$testUser" adduser "$testUser"
else else