diff options
author | pjd <pjd@FreeBSD.org> | 2004-09-17 08:41:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-09-17 08:41:15 +0000 |
commit | 2f0f4e47e4bcc1ae067311007ccc31e9aa3fa800 (patch) | |
tree | f86524dda632990c01544782fb6b9aafa0a70e50 /sbin/geom | |
parent | 35d4149856e768518efabd29e3e073f903f8000b (diff) | |
download | FreeBSD-src-2f0f4e47e4bcc1ae067311007ccc31e9aa3fa800.zip FreeBSD-src-2f0f4e47e4bcc1ae067311007ccc31e9aa3fa800.tar.gz |
Do not exit after printing usage, give geom(8) a chance to show standard
commands.
Diffstat (limited to 'sbin/geom')
-rw-r--r-- | sbin/geom/class/mirror/geom_mirror.c | 1 | ||||
-rw-r--r-- | sbin/geom/class/raid3/geom_raid3.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sbin/geom/class/mirror/geom_mirror.c b/sbin/geom/class/mirror/geom_mirror.c index 0f87eeb..5e8b2c3 100644 --- a/sbin/geom/class/mirror/geom_mirror.c +++ b/sbin/geom/class/mirror/geom_mirror.c @@ -119,7 +119,6 @@ usage(const char *comm) " %s forget prov [prov [...]]\n" " %s stop [-fv] name [...]\n", comm, comm, comm, comm, comm, comm, comm, comm, comm, comm, comm); - exit(EXIT_FAILURE); } static void diff --git a/sbin/geom/class/raid3/geom_raid3.c b/sbin/geom/class/raid3/geom_raid3.c index 00baa27..9c2b53f 100644 --- a/sbin/geom/class/raid3/geom_raid3.c +++ b/sbin/geom/class/raid3/geom_raid3.c @@ -114,7 +114,6 @@ usage(const char *comm) " %s remove [-v] <-n number> name\n" " %s stop [-fv] name [...]\n", comm, comm, comm, comm, comm, comm, comm, comm); - exit(EXIT_FAILURE); } static void |