From 39eb3c90a2c021dc750467360e07a6dadf7bcbb2 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 21 May 2008 00:36:21 -0400 Subject: Make sure to cleanup WORKDIR on exit Signed-off-by: Aaron Griffin --- db-move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db-move') diff --git a/db-move b/db-move index cb559d2..f8adfc1 100755 --- a/db-move +++ b/db-move @@ -37,7 +37,7 @@ LOCKFILE="/tmp/.repolck.$arch.$reponame" cleanup() { # unlock rm -f "$LOCKFILE" - #rm -rf "$WORKDIR" + rm -rf "$WORKDIR" [ "$1" ] && exit $1 } -- cgit v1.2.3-24-g4f1b