From: Bastian Dehn Date: Sun, 16 Aug 2026 18:31:03 +0000 (+0200) Subject: fix shellcheck issue X-Git-Tag: v1.0.7^2~1^2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=a7991ac92721b4969e4684e0967570ed76bb0ccd;p=simple-backup.git fix shellcheck issue --- diff --git a/src/backupmount b/src/backupmount index 408ba8a..c9b0fe9 100755 --- a/src/backupmount +++ b/src/backupmount @@ -34,19 +34,19 @@ exists_config_file() exists_block_device() { local device="$1" - [ -b "$device" ] || return $? + [ -b "$device" ] } exists_partition() { local partition="$1" - [ -b "$partition" ] || return $? + [ -b "$partition" ] } exists_key() { local key="$1" - [ -f "$key" ] || return $? + [ -f "$key" ] } mount_partition()