Solved shellcheck errors

This commit is contained in:
2020-05-05 11:50:20 +02:00
parent e42a931032
commit 54f550e566
5 changed files with 11 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
# Locks the data
# @author Kevin Veen-Birkenbach [aka. Frantz]
#
# shellcheck disable=SC2015 # Deactivating bool hint
# shellcheck source=/dev/null # Deactivate SC1090
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Locking directory $DECRYPTED_PATH..." &&

View File

@@ -4,6 +4,7 @@
# @author Kevin Veen-Birkenbach [aka. Frantz]
#
# shellcheck source=/dev/null # Deactivate SC1090
# shellcheck disable=SC2015 # Deactivating bool hint
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Unlocking directory $DECRYPTED_PATH..."
if [ ! -d "$DECRYPTED_PATH" ]