Fix exit values

Exit status is a value between 0 and 255.



SVN revision: 55846
This commit is contained in:
Lucas De Marchi 2011-01-04 15:29:50 +00:00
parent 7bae8bd89b
commit 546f8d20c3
4 changed files with 4 additions and 4 deletions

View File

@ -106,7 +106,7 @@ e_alert_show(const char *text)
{
fputs(text, stderr);
fflush(stderr);
exit(-1);
exit(1);
}
fh = fs->ascent + fs->descent;

View File

@ -730,7 +730,7 @@ _desklock_auth(char *passwd)
exit(0);
}
free(current_user);
exit(-1);
exit(1);
}
else
{

View File

@ -149,7 +149,7 @@ e_hints_init(void)
{
e_error_message_show(_("A previous instance of Enlightenment is still active\n"
"on this screen. Aborting startup.\n"));
exit(-1);
exit(1);
}
}
}

View File

@ -56,7 +56,7 @@ main(int argc, char **argv)
}
else
{
exit(-1);
exit(1);
}
uid = getuid();