propellor spin
This commit is contained in:
parent
fba62ba36a
commit
0c86662b2d
|
@ -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 {"
|
||||
|
|
Loading…
Reference in New Issue