]> git.armaanb.net Git - opendoas.git/commitdiff
remove unnecessary warning output
authorDuncaen <mail@duncano.de>
Sun, 26 Jun 2016 21:22:27 +0000 (23:22 +0200)
committerDuncaen <mail@duncano.de>
Sun, 26 Jun 2016 21:22:27 +0000 (23:22 +0200)
doas.c

diff --git a/doas.c b/doas.c
index 33be571de3bd542fe9eef95303f612380e357a54..b5f8049e3baff80ea544c20437548d6e4fa16320 100644 (file)
--- 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)