From: Marius Gavrilescu Date: Sat, 10 Jan 2015 18:26:15 +0000 (+0200) Subject: Keep $ENV{HOME} in gruntmaster-exec X-Git-Tag: 5999.000_005~107 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=4b5d7885e5a9ebc09f4b4b631a4eb7c3ce5f1c12;p=gruntmaster-daemon.git Keep $ENV{HOME} in gruntmaster-exec --- diff --git a/gruntmaster-exec b/gruntmaster-exec index 1bb5758..69e967e 100755 --- a/gruntmaster-exec +++ b/gruntmaster-exec @@ -12,7 +12,7 @@ my ($mlimit, $olimit, @args) = @ARGV; setrlimit RLIMIT_AS, $mlimit, $mlimit or die $! if $mlimit; setrlimit RLIMIT_FSIZE, $olimit, $olimit or die $! if $olimit; -%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}, HOME => $ENV{PATH}); +%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}, HOME => $ENV{HOME}); exec @args; __END__