]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix 'trap in lxc-create script
authorDaniel Baumann <daniel.baumann@progress-technologies.net>
Tue, 31 Jul 2012 14:01:25 +0000 (16:01 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 31 Jul 2012 14:01:25 +0000 (16:01 +0200)
Fix correct signal names in lxc-create trap (Closes: #655173).

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-create.in

index acbd4cf9c87df51813774c7a4fc75754c0e9d804..0ad4e957ff5ff112d4bbd9a70e4ddb45fd955774 100644 (file)
@@ -233,7 +233,7 @@ cleanup() {
     exit 1
 }
 
-trap cleanup SIGHUP SIGINT SIGTERM
+trap cleanup HUP INT TERM
 
 mkdir -p $lxc_path/$lxc_name