Don't exit with -1 if the user typed "quit".

MFC after:	1 week
This commit is contained in:
Joerg Wunsch 2002-01-26 11:21:19 +00:00
parent 56962689cc
commit aaadf6882c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89810

View File

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