Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- package/block-mount/files/block.sh (revision 31036)
- +++ package/block-mount/files/block.sh (working copy)
- @@ -158,6 +158,7 @@
- local value="$2"
- local device
- device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)"
- + [ -z "$device" ] && device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)"
- echo "$device"
- }
Add Comment
Please, Sign In to add comment