Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/delete-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-25 13:53:22 +0200
committerErich Eckner <git@eckner.net>2020-04-25 13:53:22 +0200
commiteb80efa196a3cc144973671af4bbbc623179bdb0 (patch)
treeb403882477f29a7c8f51a8efa96ebecde158c319 /bin/delete-packages
parentb9915b41fb08c30afa46331d104d86138c07c4aa (diff)
make shellcheck happy
Diffstat (limited to 'bin/delete-packages')
-rwxr-xr-xbin/delete-packages3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index bfcb9ac..a2e932c 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -122,17 +122,20 @@ if [ -z "${no_action_option}" ]; then
# fi
exec 8> "${package_database_lock_file}"
+ # shellcheck disable=SC2086
if ! verbose_flock ${block_flag} 8; then
>&2 echo 'come back (shortly) later - I cannot lock package database.'
exit 0
fi
+ # shellcheck disable=SC2086
if intentions_left ${block_flag}; then
>&2 echo 'come back (shortly) later - There are still intentions in the queue.'
exit 0
fi
exec 7> "${sanity_check_lock_file}"
+ # shellcheck disable=SC2086
if ! verbose_flock -s ${block_flag} 7; then
>&2 echo 'come back (shortly) later - sanity-check running.'
exit 0