summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-move b/db-move
index ca1b5da..ed3df69 100755
--- a/db-move
+++ b/db-move
@@ -44,8 +44,8 @@ die() {
trap ctrl_c 2
trap cleanup 0
-repo_lock $repoto $_arch
-repo_lock $repofrom $_arch
+repo_lock $repoto $_arch || exit 1
+repo_lock $repofrom $_arch || exit 1
/bin/mkdir -p "$WORKDIR"