diff mbox

common: Fix wrong word in _require_group

Message ID 1496415046-23940-1-git-send-email-nborisov@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nikolay Borisov June 2, 2017, 2:50 p.m. UTC
Make _require_group yield the correct error message when the requested 
group is not found. 

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/common/rc b/common/rc
index 743df427..87e6ff08 100644
--- 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()