diff options
-rwxr-xr-x | add-user | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,10 +28,12 @@ if [ $# -gt 0 ]; then shift for g in $*; do garg="$garg,$g" - + /usr/sbin/groupadd -r $g > /dev/null 2>&1 done fi -/usr/sbin/useradd -r -M -s $shell -d $dir -c "system user for $pkg" $garg $name > /dev/null 2>&1 || : +/usr/sbin/useradd -r -M -s $shell -d $dir -c "system user for $pkg" $garg $name > /dev/null 2>&1 + +exit 0 # add-user ends here |