mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-03 15:05:17 +00: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:
parent
b884bfecfb
commit
43dad946c6
@ -106,7 +106,7 @@ void
|
|||||||
check_superuser(void)
|
check_superuser(void)
|
||||||
{
|
{
|
||||||
if (geteuid() != 0) {
|
if (geteuid() != 0) {
|
||||||
warnx("Run as root and you'll be happy.\n");
|
warnx("Run as root and you'll be happy.");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user