propellor spin

This commit is contained in:
Joey Hess 2015-05-27 21:15:54 -04:00
parent fba62ba36a
commit 0c86662b2d
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ enterScript c@(Container name _ _) = setup <!> teardown
, "chomp $pid;"
, "if (length $pid) {"
, "\tforeach my $var (keys %ENV) {"
, "\t\tdelete $var unless $var eq 'PATH' || $var eq 'TERM';"
, "\t\tdelete $ENV{$var} unless $var eq 'PATH' || $var eq 'TERM';"
, "\t}"
, "\texec('nsenter', '-p', '-u', '-n', '-i', '-m', '-t', $pid, @ARGV);"
, "} else {"