summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-update6
-rwxr-xr-xbin/delete-packages6
2 files changed, 6 insertions, 6 deletions
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() {
diff --git a/bin/delete-packages b/bin/delete-packages
index 124e403..f95fb8e 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -77,19 +77,19 @@ if ! ${no_action}; then
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 running.'
- exit 1
+ exit 0
fi
fi