]> diplodocus.org Git - nmh/commitdiff
pop_init(): After proxy's execve(2) failure, exit(1), not exit(10).
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 18 Sep 2017 22:38:27 +0000 (23:38 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 18 Sep 2017 22:38:27 +0000 (23:38 +0100)
The value 10 seems undocumented, and I can't find anything that tests
for that specific value.

uip/popsbr.c

index 356c341..f913fce 100644 (file)
@@ -182,7 +182,7 @@ pop_init (char *host, char *port, char *user, char *proxy, int snoop,
           close(1);
           free(*argv);
           free(argv);
-          exit(10);
+          exit(1);
        }
 
        /* okay in the parent we do some stuff */