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
1 changed files with 1 additions and 1 deletions

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