X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-exec;h=5a2773a7fc280eaa97b2290d0a0fa3b94ce6e918;hp=25a44d16f48f8635b58868a9f2c9695dab7caf45;hb=91c5f4907ceef23443e58bfd5314fa0672a0ac6f;hpb=01d5951581c7d82b42a3cc78942287ead79d2ca3 diff --git a/gruntmaster-exec b/gruntmaster-exec index 25a44d1..5a2773a 100755 --- a/gruntmaster-exec +++ b/gruntmaster-exec @@ -46,7 +46,7 @@ GetOptions( my $killuser = $ENV{GRUNTMASTER_KILL_USER}; my @sudo; @sudo = (shellwords ($ENV{GRUNTMASTER_SUDO}), '--') if $ENV{GRUNTMASTER_SUDO} && $nobody; -$mlimit = 1_000_000_000 if @sudo; # sudo wants a lot of address space +undef $mlimit if @sudo; # sudo wants a lot of address space my $ret = fork // die 'Cannot fork'; if ($ret) {