Don't exit with -1 if the user typed "quit".
MFC after: 1 week
This commit is contained in:
parent
b81f8e6474
commit
263b25cdca
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user