aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
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);
}