Log an error (not info) when working directory can't be changed
authorAlexander Barton <alex@barton.de>
Mon, 23 Sep 2013 22:04:54 +0000 (00:04 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 23 Sep 2013 22:04:54 +0000 (00:04 +0200)
src/ngircd/ngircd.c

index d76b47d4ba86dbf3969dfbae1544701c0e4d9608..5637cb2578666c91ef0a9945231fc2b74686d97c 100644 (file)
@@ -817,8 +817,8 @@ NGIRCd_Init(bool NGIRCd_NoDaemon)
                            "Changed working directory to \"%s\" ...",
                            pwd->pw_dir);
                else
-                       Log(LOG_INFO,
-                           "Notice: Can't change working directory to \"%s\": %s!",
+                       Log(LOG_ERR,
+                           "Can't change working directory to \"%s\": %s!",
                            pwd->pw_dir, strerror(errno));
        } else
                Log(LOG_ERR, "Can't get user informaton for UID %d!?", Conf_UID);