From 842ebc3247c88cd4fe6b70f7717e9bbc4c42e471 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Mon, 30 Mar 2009 18:28:02 +0000 Subject: fix typos in conditionals --- add-group | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add-group') diff --git a/add-group b/add-group index ea9e920..7a27ed5 100755 --- a/add-group +++ b/add-group @@ -20,7 +20,7 @@ num=$2 # number of packages installed name=$3 # name of the group users=$4 # users to add to this group -if ! getent group $name /dev/null 2>&1; then +if ! getent group $name > /dev/null 2> &1; then /usr/sbin/groupadd -r $name > /dev/null if [ -n "$users" ]; then -- cgit v1.2.1