Work on stale ldap/homedir stuff

This commit is contained in:
nikolark committed 2015-05-09 18:07:10 +02:00
1 parent da1def5c8a
commit 4f0f30b2f5
5 files changed
+98 -118

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ fi
HOME_DIRS_PATH=$1
USERNAME=$2
if ! id -u $USERNAME; then
if ! id -u ${USERNAME} &>/dev/null; then
echo "Cannot find user ${USERNAME}. Be sure the user is added to the ldap directory before running this script."
exit 1
fi