From 43dad946c6cef8361320380ac70167f742b935ec Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sat, 11 Mar 2017 02:10:38 -0800 Subject: [PATCH] common: no need for \n in check_superuser warnx adds the \n for us. Signed-off-by: Ralf Ramsauer --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index b965ac9..2170867 100644 --- a/src/common.c +++ b/src/common.c @@ -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); } }