forked from enlightenment/enlightenment
Fix exit values
Exit status is a value between 0 and 255. SVN revision: 55846
This commit is contained in:
parent
7bae8bd89b
commit
546f8d20c3
|
@ -106,7 +106,7 @@ e_alert_show(const char *text)
|
||||||
{
|
{
|
||||||
fputs(text, stderr);
|
fputs(text, stderr);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
exit(-1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fh = fs->ascent + fs->descent;
|
fh = fs->ascent + fs->descent;
|
||||||
|
|
|
@ -730,7 +730,7 @@ _desklock_auth(char *passwd)
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
free(current_user);
|
free(current_user);
|
||||||
exit(-1);
|
exit(1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -149,7 +149,7 @@ e_hints_init(void)
|
||||||
{
|
{
|
||||||
e_error_message_show(_("A previous instance of Enlightenment is still active\n"
|
e_error_message_show(_("A previous instance of Enlightenment is still active\n"
|
||||||
"on this screen. Aborting startup.\n"));
|
"on this screen. Aborting startup.\n"));
|
||||||
exit(-1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
exit(-1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
uid = getuid();
|
uid = getuid();
|
||||||
|
|
Loading…
Reference in New Issue