mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
separate log messages between up and down script
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user