diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-21 13:57:58 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-21 13:57:58 -0400 |
| commit | 5e1a47552a07b596b0b264ca752025335b29e45b (patch) | |
| tree | d2f2b59240f24a674452eb1c90733f40a9f91909 | |
| parent | 09e79e6263db1f7309b9787585d797e46c6905b9 (diff) | |
propellor spin
| -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 428d11b9..862b674b 100644 --- a/src/Propellor/Property/Systemd.hs +++ b/src/Propellor/Property/Systemd.hs @@ -140,7 +140,7 @@ enterScript c@(Container name _ _ _) = RevertableProperty setup teardown , "# Generated by propellor" , "pid=\"$(machinectl show " ++ shellEscape name ++ " -p Leader | cut -d= -f2)\" || true" , "if [ -n \"$pid\" ]; then" - , "\tnsenter -p -u -n -i -m -t \"$pid\"" + , "\tnsenter -p -u -n -i -m -t \"$pid\" \"$@\"" , "else" , "\techo container not running >&2" , "\texit 1" |
