Guest User

Untitled

a guest
Jul 11th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.33 KB | None | 0 0
  1. --- package/block-mount/files/block.sh  (revision 31036)
  2. +++ package/block-mount/files/block.sh  (working copy)
  3. @@ -158,6 +158,7 @@
  4.     local value="$2"
  5.     local device
  6.     device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)"
  7. +   [ -z "$device" ] && device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)"
  8.     echo "$device"
  9.  }
Add Comment
Please, Sign In to add comment