separate log messages between up and down script

This commit is contained in:
Nikos Mavrogiannopoulos
2014-12-02 08:27:32 +01:00
parent 230b6adca0
commit 6bfd5db245

View File

@@ -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);