]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix shellcheck issue
authorBastian Dehn <hhaalo@arcor.de>
Sun, 16 Aug 2026 18:31:03 +0000 (20:31 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 16 Aug 2026 18:31:03 +0000 (20:31 +0200)
src/backupmount

index 408ba8ab2030afc0b2e414641effecb4612f125a..c9b0fe99fb084a4fe663c8bf9966f595ba464bbb 100755 (executable)
@@ -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()