1
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
3
Adding patch to correct signal names in lxc-clone trap.
5
diff -Naurp lxc.orig//src/lxc/lxc-clone.in lxc/src/lxc/lxc-clone.in
6
--- lxc.orig//src/lxc/lxc-clone.in 2012-01-09 01:32:47.850745685 +0100
7
+++ lxc/src/lxc/lxc-clone.in 2012-01-09 16:07:44.703064780 +0100
8
@@ -137,7 +137,7 @@ if [ -d "$lxc_path/$lxc_new" ]; then
12
-trap "${bindir}/lxc-destroy -n $lxc_new; echo aborted; exit 1" SIGHUP SIGINT SIGTERM
13
+trap "${bindir}/lxc-destroy -n $lxc_new; echo aborted; exit 1" HUP INT TERM
15
mkdir -p $lxc_path/$lxc_new