added warning
sad
This commit is contained in:
parent
388f0d05c7
commit
23663d5524
@ -150,7 +150,7 @@ void checkVersion(inputFlags flags)
|
|||||||
//CHECK FOR ROOT PERMISSIONS
|
//CHECK FOR ROOT PERMISSIONS
|
||||||
if (getuid() != 0)
|
if (getuid() != 0)
|
||||||
{
|
{
|
||||||
if (!flags.noOutput) fprintf(stderr, "You need to be root to update!\n");
|
if (!flags.noOutput) fprintf(stderr, "You need to be root to update!\t[I DO NOT RECOMMEND USING THIS]\n");
|
||||||
exit(UPDATE_FAILED);
|
exit(UPDATE_FAILED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user