Update rtremoveuser

This commit is contained in:
arakasi72
2014-10-03 18:43:23 +01:00
parent 68ecbc9fc9
commit a500609ff0
+2 -2
View File
@@ -28,8 +28,8 @@ elif [ "$user" = "root" ]; then
echo "Cannot delete root" && exit 1
elif [ -z "$user" ]; then
echo "User entry is blank" && exit 1
elif ! [ id -u $user >/dev/null 2>&1 ]; then
echo "$user does not exist && exit 1
elif ! id -u $user >/dev/null 2>&1 ; then
echo "$user does not exist" && exit 1
fi
echo