diff options
author | Erich Eckner <git@eckner.net> | 2020-04-25 13:53:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-25 13:53:22 +0200 |
commit | eb80efa196a3cc144973671af4bbbc623179bdb0 (patch) | |
tree | b403882477f29a7c8f51a8efa96ebecde158c319 /bin/db-update | |
parent | b9915b41fb08c30afa46331d104d86138c07c4aa (diff) | |
download | builder-eb80efa196a3cc144973671af4bbbc623179bdb0.tar.xz |
make shellcheck happy
Diffstat (limited to 'bin/db-update')
-rwxr-xr-x | bin/db-update | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update index 401ef88..32de58a 100755 --- a/bin/db-update +++ b/bin/db-update @@ -168,17 +168,20 @@ fi if [ -z "${no_action_flag}" ]; then # Create lock. exec 9> "${package_database_lock_file}" + # shellcheck disable=SC2086 if ! verbose_flock ${block_flag} 9; 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 8> "${sanity_check_lock_file}" + # shellcheck disable=SC2086 if ! verbose_flock -s ${block_flag} 8; then >&2 echo 'come back (shortly) later - sanity-check currently running.' exit 0 |