summaryrefslogtreecommitdiffstats
path: root/usr.bin/getopt
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-04-28 14:04:24 +0000
committermarkm <markm@FreeBSD.org>2002-04-28 14:04:24 +0000
commit905d923df1beb294d386944f9fb3085807aefa0e (patch)
tree7eeb3380bc04ba3185562f7972e99893c53c4c2a /usr.bin/getopt
parent1564a712cad8b3bd40595d99c418e56ba5d05fbb (diff)
downloadFreeBSD-src-905d923df1beb294d386944f9fb3085807aefa0e.zip
FreeBSD-src-905d923df1beb294d386944f9fb3085807aefa0e.tar.gz
Minor nit; return(foo) from main rather than exit(foo).
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r--usr.bin/getopt/getopt.c2
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;
}
OpenPOWER on IntegriCloud