diff options
author | markm <markm@FreeBSD.org> | 2002-04-28 14:04:24 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-04-28 14:04:24 +0000 |
commit | 905d923df1beb294d386944f9fb3085807aefa0e (patch) | |
tree | 7eeb3380bc04ba3185562f7972e99893c53c4c2a | |
parent | 1564a712cad8b3bd40595d99c418e56ba5d05fbb (diff) | |
download | FreeBSD-src-905d923df1beb294d386944f9fb3085807aefa0e.zip FreeBSD-src-905d923df1beb294d386944f9fb3085807aefa0e.tar.gz |
Minor nit; return(foo) from main rather than exit(foo).
-rw-r--r-- | usr.bin/getopt/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/getopt/getopt.c b/usr.bin/getopt/getopt.c index 830f63a..7ce9c4f 100644 --- a/usr.bin/getopt/getopt.c +++ b/usr.bin/getopt/getopt.c @@ -29,5 +29,5 @@ char *argv[]; for (; optind < argc; optind++) printf(" %s", argv[optind]); printf("\n"); - exit(status); + return status; } |