aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2002-01-26 11:21:19 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2002-01-26 11:21:19 +0000
commitaaadf6882c7abb498ee59d4fb6d6041053d63760 (patch)
tree8d27abf40c59b23b0fe453f33c2b7a13abbb8a01 /sbin/fsdb
parent56962689ccdb502469d95392487a7fed9c44be1d (diff)
downloadsrc-aaadf6882c7abb498ee59d4fb6d6041053d63760.tar.gz
src-aaadf6882c7abb498ee59d4fb6d6041053d63760.zip
Notes
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 3da298ae9435..9ba91aa13706 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -275,7 +275,8 @@ cmdloop()
rval = 0;
free(line);
if (rval < 0)
- return rval;
+ /* user typed "quit" */
+ return 0;
if (rval)
warnx("rval was %d", rval);
}