From: Daniel Baumann Date: Tue, 31 Jul 2012 14:01:25 +0000 (+0200) Subject: Fix 'trap in lxc-create script X-Git-Tag: lxc-0.8.0~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3139ed123018d50064c4f9c6ebc305fabe9d82e;p=thirdparty%2Flxc.git Fix 'trap in lxc-create script Fix correct signal names in lxc-create trap (Closes: #655173). Signed-off-by: Serge Hallyn Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in index acbd4cf9c..0ad4e957f 100644 --- a/src/lxc/lxc-create.in +++ b/src/lxc/lxc-create.in @@ -233,7 +233,7 @@ cleanup() { exit 1 } -trap cleanup SIGHUP SIGINT SIGTERM +trap cleanup HUP INT TERM mkdir -p $lxc_path/$lxc_name