diff options
Diffstat (limited to 'add-user')
-rwxr-xr-x | add-user | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ name=$3 # name of the user dir=$4 # home directory shell=$5 # shell -if ! id $name /dev/null 2>&1; then +if ! getent passwd $name > /dev/null 2> &1; then /usr/sbin/useradd -r -M \ -s $shell -d $dir -c "system user for $pkg" $name > /dev/null fi |