]> andersk Git - moira.git/commitdiff
don't fail to start if user not found in db
authormar <mar>
Fri, 6 Apr 1990 17:01:20 +0000 (17:01 +0000)
committermar <mar>
Fri, 6 Apr 1990 17:01:20 +0000 (17:01 +0000)
clients/blanche/blanche.c

index 08d44903815cc2ec9749b278d686976fe6979345..f13a18fc8562bde48a45e62e975607ecf7797aef 100644 (file)
@@ -182,10 +182,14 @@ char **argv;
     }
 
     if (!noauth && (status = mr_auth("blanche"))) {
-       com_err(whoami, status, "unable to authenticate to Moira");
-       com_err(whoami, 0,
-               " Try the -noauth flag if you don't need authentication");
-       exit(2);
+       if (status == MR_USER_AUTH)
+         com_err(whoami, status, "");
+       else {
+           com_err(whoami, status, "unable to authenticate to Moira");
+           com_err(whoami, 0,
+                   " Try the -noauth flag if you don't need authentication");
+           exit(2);
+       }
     }
 
     /* display list info if requested to */
This page took 0.058233 seconds and 5 git commands to generate.