X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fwhom.c;h=3d3eb8464ebb937aca6a84ebd15bf03e6efb28ad;hb=2abb9a7cfb0930e27062088734d306e7d78e4cc2;hp=57fddc8eda1f889fe9e317cf619289215ce9c2f6;hpb=a72c94d4e0c02b5095ca6798de2474768490ef94;p=mmh diff --git a/uip/whom.c b/uip/whom.c index 57fddc8..3d3eb84 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -10,6 +10,7 @@ #include #include #include +#include static struct swit switches[] = { #define VERSIONSW 0 @@ -85,7 +86,7 @@ main(int argc, char **argv) switch (smatch(++cp, switches)) { case AMBIGSW: ambigsw(cp, switches); - done(1); + exit(1); case UNKWNSW: adios(NULL, "-%s unknown", cp); @@ -95,10 +96,10 @@ main(int argc, char **argv) "%s [switches] file ...", invo_name); print_help(buf, switches, 1); - done(1); + exit(0); case VERSIONSW: print_version(invo_name); - done(1); + exit(0); case TOCCSW: toccsw = 1;