1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-21 20:46:06 +03:00

common: no need for \n in check_superuser

warnx adds the \n for us.

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2017-03-11 02:10:38 -08:00
parent b884bfecfb
commit 43dad946c6

View File

@ -106,7 +106,7 @@ void
check_superuser(void)
{
if (geteuid() != 0) {
warnx("Run as root and you'll be happy.\n");
warnx("Run as root and you'll be happy.");
exit(-1);
}
}