From ac2d1aab5b78b88775e239403a6793c244230b79 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 28 Nov 2017 14:42:38 +0100 Subject: bin/db-update, bin/delete-packages: exit with 0 in case lock cannot be acquired --- bin/db-update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/db-update') diff --git a/bin/db-update b/bin/db-update index 366b705..6abc13c 100755 --- a/bin/db-update +++ b/bin/db-update @@ -421,19 +421,19 @@ done exec 9> "${build_list_lock_file}" if ! flock ${block_flag} 9; then >&2 echo 'come back (shortly) later - I cannot lock build list.' - exit 1 + exit 0 fi exec 8> "${package_database_lock_file}" if ! flock ${block_flag} 8; then >&2 echo 'come back (shortly) later - I cannot lock package database.' - exit 1 + exit 0 fi exec 7> "${sanity_check_lock_file}" if ! flock -s ${block_flag} 7; then >&2 echo 'come back (shortly) later - sanity-check currently running.' - exit 1 + exit 0 fi clean_up_lock_file() { -- cgit v1.2.3-70-g09d2