diff options
Diffstat (limited to 'src/block.sh')
-rw-r--r-- | src/block.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block.sh b/src/block.sh index 39c980c..3c245ea 100644 --- a/src/block.sh +++ b/src/block.sh @@ -23,8 +23,8 @@ is_block() local dev="${1}" shift 1 - [ -b "${dev}" ] - return ${?} + [ -b "${dev}" ] || return ${?} + return 0 } check_block() |