From 4b5d7885e5a9ebc09f4b4b631a4eb7c3ce5f1c12 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 10 Jan 2015 20:26:15 +0200 Subject: [PATCH] Keep $ENV{HOME} in gruntmaster-exec --- gruntmaster-exec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- 2.30.2