diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-05-27 21:15:54 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-05-27 21:15:54 -0400 |
| commit | 0c86662b2d98f8f708bb5217e1cedf74b2fbfa04 (patch) | |
| tree | f67d4e5bdd952443d7ece1f6905c7f3bb488951d /src | |
| parent | fba62ba36ad94241f47d89de668ec4bb7f2a774e (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Systemd.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs index b19c08bc..c698f780 100644 --- a/src/Propellor/Property/Systemd.hs +++ b/src/Propellor/Property/Systemd.hs @@ -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 {" |
