summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-addgroup
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-addgroup')
-rw-r--r--ipa-admintools/ipa-addgroup2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-addgroup b/ipa-admintools/ipa-addgroup
index 8169dea1..e8c89ed5 100644
--- a/ipa-admintools/ipa-addgroup
+++ b/ipa-admintools/ipa-addgroup
@@ -68,7 +68,7 @@ def main():
cont = True
else:
cn = args[1]
- if (ipavalidate.ipastsring(cn, notEmpty=True)):
+ if (ipavalidate.String(cn, notEmpty=True)):
print "Please enter a value"
return 1