diff options
Diffstat (limited to 'sbin/fsdb')
-rw-r--r-- | sbin/fsdb/fsdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 3da298a..9ba91aa 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); } |