propellor spin

This commit is contained in:
Joey Hess 2014-11-21 13:57:58 -04:00
parent 09e79e6263
commit 5e1a47552a
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -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"