ud-generate: deal with users without loginShell
[mirror/userdir-ldap.git] / ud-sync-accounts-to-afs
index 1cc478b..41cc999 100755 (executable)
@@ -162,7 +162,7 @@ def do_accounts():
    want = load_expected()
    have = load_existing()
 
-   if not options.user in have.by_name:
+   if options.user not in have.by_name:
       print >> sys.stderr, "Cannot find our user, '%s', in pts listentries"%(options.user)
       sys.exit(1)
    me = have.by_name[options.user]