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); }