Commit 295daa04e5723ab1fe0f564259b0f6f35dd3d575

Exit with EX_USAGE on usage errors instead of indicating success.
main.c
(2 / 1)
  
1313#include <time.h>
1414#include <assert.h>
1515#include <errno.h>
16#include <sysexits.h>
1617
1718#include "waitforsocket.h"
1819
4242
4343 if (argc < 3) {
4444 usage(argv[0]);
45 exit(0);
45 exit(EX_USAGE);
4646 }
4747
4848 hostname = argv[1];