added warning

sad
This commit is contained in:
Václav Šmejkal 2022-06-11 19:05:23 +02:00
parent 388f0d05c7
commit 23663d5524
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

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