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

MFC after:	1 week
This commit is contained in:
joerg 2002-01-26 11:21:19 +00:00
parent b81f8e6474
commit 263b25cdca

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