From 0f54cbe863f057eb197476c24e693441414e8c67 Mon Sep 17 00:00:00 2001 From: Francois Charette Date: Mon, 20 Jul 2009 11:41:35 +0200 Subject: Fix final "cleanup" to avoid spurious error msg * When calling cleanup at the end of db-update, the function repo_unlock is called, but the repo-locks have already been unlocked! So we get a spurious error message. This commit replaces "cleanup" by "rm -rf $WORKDIR". Signed-off-by: Aaron Griffin --- db-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db-update') diff --git a/db-update b/db-update index ba8c3b5..67f8782 100755 --- a/db-update +++ b/db-update @@ -231,5 +231,5 @@ done if [ -n "$to_add_any" ]; then /bin/rm $to_add_any fi -cleanup +rm -rf $WORKDIR # vim: set ts=4 sw=4 noet ft=sh: -- cgit v1.2.3-24-g4f1b