Use negative return values on errors

This commit is contained in:
Arnout Engelen
2012-03-15 20:53:25 +00:00
parent d7476faae1
commit 2c04ca9267
4 changed files with 7 additions and 7 deletions

View File

@@ -430,7 +430,7 @@ void do_refresh()
}
else
{
forceExit("Invalid viewmode");
forceExit("Invalid viewmode", -1);
}
uid_t uid = curproc->getVal()->getUid();
#ifndef NDEBUG