Set new tentacle_server filter for agents deployment
This commit is contained in:
parent
618c04997a
commit
b4d5cd61dc
|
@ -21,7 +21,7 @@ daemon 1
|
|||
#insecure 0
|
||||
|
||||
# [-i] Filters (regexp:dir;regexp:dir...).
|
||||
filters .*\.conf:conf;.*\.md5:md5;.*\.zip:collections;.*\.lock:trans;.*\.rcmd:commands
|
||||
filters .*\.conf:conf;.*\.md5:md5;.*\.zip:collections;.*\.lock:trans;.*\.rcmd:commands;.*\.agent_setup\.exe:agent;.*\.agent_setup\.tar\.gz:agent
|
||||
|
||||
# [-m] Maximum file size allowed by the server in bytes
|
||||
# max_size 2000000
|
||||
|
|
|
@ -1785,10 +1785,10 @@ sub check_ssleay_version {
|
|||
################################################################################
|
||||
|
||||
# Never run as root
|
||||
#if ($> == 0 && $^O ne 'MSWin32') {
|
||||
# print ("Error: for safety reasons $0 cannot be run with root privileges.\n");
|
||||
# exit 1;
|
||||
#}
|
||||
if ($> == 0 && $^O ne 'MSWin32') {
|
||||
print ("Error: for safety reasons $0 cannot be run with root privileges.\n");
|
||||
exit 1;
|
||||
}
|
||||
|
||||
# Parse command line options
|
||||
parse_options ();
|
||||
|
|
Loading…
Reference in New Issue