]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common/rc: Fix wrong word in _require_group
authorNikolay Borisov <nborisov@suse.com>
Fri, 2 Jun 2017 14:50:46 +0000 (17:50 +0300)
committerEryu Guan <eguan@redhat.com>
Sat, 3 Jun 2017 08:58:07 +0000 (16:58 +0800)
Make _require_group yield the correct error message when the
requested group is not found.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc

index 743df427c0470c4ddcbf3c990aea1d65ecf39ad8..87e6ff08b18d4f231534dc34efc20825d18a9cf1 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -2027,7 +2027,7 @@ _require_group()
         qa_group=$1
     fi
     _cat_group | grep -q $qa_group
-    [ "$?" == "0" ] || _notrun "$qa_group user not defined."
+    [ "$?" == "0" ] || _notrun "$qa_group group not defined."
 }
 
 _filter_user_do()