Another minor fix
This commit is contained in:
parent
7fc9a2c4fb
commit
33413fe80d
|
@ -91,7 +91,7 @@ function RemoveSudoers {
|
|||
}
|
||||
|
||||
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"
|
||||
adduser "$testUser"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue