X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-roleadd;fp=ud-roleadd;h=db83f18445d44f9a6a5bbd3659f35574d5437495;hp=08f28ac4564215b8c6a9e7151e2313cc314c7d8f;hb=2e69e156ef1a4920643fea141577e238e5afa9e8;hpb=b16d5723e935432b9a26699a1c73618e1c35acf4 diff --git a/ud-roleadd b/ud-roleadd index 08f28ac..db83f18 100755 --- a/ud-roleadd +++ b/ud-roleadd @@ -83,6 +83,7 @@ print " GECOS Field: \"%s,,,,\"" % cn print " Login Shell: /bin/false" Res = raw_input("Continue [No/yes]? ") if Res != "yes": + print "Not adding %s" % cn sys.exit(1) # Submit the modification request