Set new tentacle_server filter for agents deployment

This commit is contained in:
Enrique Martin 2024-02-28 14:26:03 +01:00
parent 618c04997a
commit b4d5cd61dc
2 changed files with 5 additions and 5 deletions

View File

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

View File

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