Browse Source

Do not show help on command line errors

This obfuscates the error message too much.
tags/1.1
Timo Röhling 11 years ago
parent
commit
e915847e73
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      postsrsd.c

+ 0
- 2
postsrsd.c View File

309
   }
309
   }
310
   if (domain == NULL) {
310
   if (domain == NULL) {
311
     fprintf (stderr, "%s: You must set a home domain (-d)\n", self);
311
     fprintf (stderr, "%s: You must set a home domain (-d)\n", self);
312
-    show_help();
313
     return EXIT_FAILURE;
312
     return EXIT_FAILURE;
314
   }
313
   }
315
 
314
 
333
     }
332
     }
334
   } else {
333
   } else {
335
     fprintf (stderr, "%s: You must set a secret (-s)\n", self);
334
     fprintf (stderr, "%s: You must set a secret (-s)\n", self);
336
-    show_help();
337
     return EXIT_FAILURE;
335
     return EXIT_FAILURE;
338
   }
336
   }
339
   /* Bind ports. May require privileges if the config specifies ports below 1024 */
337
   /* Bind ports. May require privileges if the config specifies ports below 1024 */

Loading…
Cancel
Save