aboutsummaryrefslogtreecommitdiffstats
path: root/add-user
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2009-03-31 13:53:41 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2009-03-31 13:53:41 +0000
commit875016b54e6b9b36092dfbfb8c773f6b59264454 (patch)
treeb756e7a8d68f40f9a928e595b131bc04309e476a /add-user
parent8c86439d719fb7e3dcf2bcf59a3b918439afcc8c (diff)
downloadrpm-helper-875016b54e6b9b36092dfbfb8c773f6b59264454.tar
rpm-helper-875016b54e6b9b36092dfbfb8c773f6b59264454.tar.gz
rpm-helper-875016b54e6b9b36092dfbfb8c773f6b59264454.tar.bz2
rpm-helper-875016b54e6b9b36092dfbfb8c773f6b59264454.tar.xz
rpm-helper-875016b54e6b9b36092dfbfb8c773f6b59264454.zip
fix typo introduced by previous release
Diffstat (limited to 'add-user')
-rwxr-xr-xadd-user2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-user b/add-user
index 894a4d3..6504bbe 100755
--- a/add-user
+++ b/add-user
@@ -21,7 +21,7 @@ name=$3 # name of the user
dir=$4 # home directory
shell=$5 # shell
-if ! getent passwd $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