From 6bfd5db245dbacd4c51d4ba125d18aac9a32094c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 2 Dec 2014 08:27:32 +0100 Subject: [PATCH] separate log messages between up and down script --- src/main-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main-user.c b/src/main-user.c index 42b26def..a997eeae 100644 --- a/src/main-user.c +++ b/src/main-user.c @@ -135,7 +135,7 @@ const char* script; setenv("REASON", "disconnect", 1); } - mslog(s, proc, LOG_DEBUG, "executing script %s", script); + mslog(s, proc, LOG_DEBUG, "executing script %s %s", up?"up":"down", script); ret = execl(script, script, NULL); if (ret == -1) { mslog(s, proc, LOG_ERR, "Could not execute script %s", script);