summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-09 07:27:43 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-09 07:27:43 +0100
commit2063416ef4a160f56bb47f203257fe7903ba77e2 (patch)
tree9343432bd3d3135f11c43798316422f0344661aa
parent23f48e65a5f4133be8a5d2883de6ffb2f4f04962 (diff)
downloaddbscripts-2063416ef4a160f56bb47f203257fe7903ba77e2.tar.gz
dbscripts-2063416ef4a160f56bb47f203257fe7903ba77e2.tar.xz
Remove an erroneous '1' signal trap for cleanup() func
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-move2
-rwxr-xr-xdb-remove2
-rwxr-xr-xdb-update2
-rwxr-xr-xtesting2x2
4 files changed, 4 insertions, 4 deletions
diff --git a/db-move b/db-move
index aee18f2..88a8cb6 100755
--- a/db-move
+++ b/db-move
@@ -48,7 +48,7 @@ die() {
}
trap ctrl_c 2
-trap cleanup 0 1
+trap cleanup 0
repo_lock $repoto $arch
repo_lock $repofrom $arch
diff --git a/db-remove b/db-remove
index bb91afd..01f18d6 100755
--- a/db-remove
+++ b/db-remove
@@ -43,7 +43,7 @@ die() {
}
trap ctrl_c 2
-trap cleanup 0 1
+trap cleanup 0
repo_lock $reponame $arch
diff --git a/db-update b/db-update
index d25ab2c..e2a6534 100755
--- a/db-update
+++ b/db-update
@@ -67,7 +67,7 @@ die() {
}
trap ctrl_c 2
-trap cleanup 0 1
+trap cleanup 0
repo_lock $reponame $arch
diff --git a/testing2x b/testing2x
index 687994e..0494b98 100755
--- a/testing2x
+++ b/testing2x
@@ -26,7 +26,7 @@ ctrl_c() {
}
trap ctrl_c 2
-trap cleanup 0 1
+trap cleanup 0
cd "${WORKDIR}"
/usr/bin/svn checkout -N ${svnpath} checkout