mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2013-08-13 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Display proxy mode errors in the log file. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2a4652693a
commit
314fd2c77f
@ -1,3 +1,7 @@
|
||||
2013-08-13 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* unix/pandora_agent: Display proxy mode errors in the log file.
|
||||
|
||||
2013-07-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* unix/NT4/pandora_agent.conf, pc/NT4/pandora_agent.conf: set the
|
||||
|
@ -924,7 +924,8 @@ sub launch_tentacle_proxy () {
|
||||
exec ($new_process);
|
||||
}
|
||||
} else {
|
||||
error ('You can not proxy to localhost');
|
||||
log_message ('error', 'You can not proxy to localhost');
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2002,7 +2003,8 @@ if ($Conf{'proxy_mode'}) {
|
||||
if ($> != 0) {
|
||||
launch_tentacle_proxy();
|
||||
} else {
|
||||
error ('Proxy mode can not be launched as root');
|
||||
log_message ('Proxy mode can not be launched as root');
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user