diff options
author | corvid <corvid@lavabit.com> | 2010-01-25 02:46:08 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-01-25 02:46:08 +0000 |
commit | b1903c91f3aab118f36b46ecc49822dd89131533 (patch) | |
tree | 0859215ac7a309ed18f00f9eecee48e16131e38e /dpid | |
parent | b2991dcbc4fc0b10619012c55a739b4cace6f0c4 (diff) |
dpidc exit status 1 on error
Diffstat (limited to 'dpid')
-rw-r--r-- | dpid/dpidc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpid/dpidc.c b/dpid/dpidc.c index 54fa3b0a..f05c99b5 100644 --- a/dpid/dpidc.c +++ b/dpid/dpidc.c @@ -22,7 +22,7 @@ static char SharedKey[32]; void error(char *msg) { perror(msg); - exit(0); + exit(1); } /* @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) if (argc != 2) { fprintf(stderr,"\nUsage:\n %s {stop|register|chat}\n\n", argv[0]); - exit(0); + exit(1); } /* Read dpid's port number from saved file */ |