~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to debian/patches/10-lxc-clone-trap-name.patch

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann
  • Date: 2012-01-09 16:13:39 UTC
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: package-import@ubuntu.com-20120109161339-7stupo5py6uca5w1
Tags: 0.7.5-19
* Updating lintian overrides.
* Calling apt-get clean after upgrading caches in lxc-debconf.
* Using systems apt cache in lxc-debconf.
* Correcting s/parent-archives-areas/parent-archive-areas/ typo in
  lxc-debconf (Closes: #655176).
* Renaming lxc-create.patch to lxc-create-template-name.patch.
* Adding patch to correct signal names in lxc-create trap (Closes:
  #655173).
* Adding patch to correct signal names in lxc-clone trap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
 
2
Description:
 
3
 Adding patch to correct signal names in lxc-clone trap.
 
4
 
 
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
 
9
     exit 1
 
10
 fi
 
11
 
 
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
 
14
 
 
15
 mkdir -p $lxc_path/$lxc_new
 
16