aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-06-26 23:22:27 +0200
committerDuncaen <mail@duncano.de>2016-06-26 23:22:27 +0200
commite0c0b370ea6a9d0efc642b059fced85f7f5249a5 (patch)
treea0c72965786ae09d52ce6020cbfbb41be77e2cad
parent3f6bcbafcddabe79049de65d47cc83414ea2f7ce (diff)
downloadopendoas-e0c0b370ea6a9d0efc642b059fced85f7f5249a5.tar.gz
remove unnecessary warning output
-rw-r--r--doas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/doas.c b/doas.c
index 33be571..b5f8049 100644
--- a/doas.c
+++ b/doas.c
@@ -438,7 +438,6 @@ main(int argc, char **argv)
LOGIN_SETUSER) != 0)
errx(1, "failed to set user context for target");
#else
- warn(pw->pw_name);
if (setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) != 0)
errx(1, "setresgid");
if (initgroups(pw->pw_name, pw->pw_gid) != 0)