diff options
author | Piotr Karbowski <jabberuser@gmail.com> | 2016-02-21 07:43:48 +0100 |
---|---|---|
committer | Piotr Karbowski <jabberuser@gmail.com> | 2016-02-21 07:43:48 +0100 |
commit | 470b0d97eec92970c3035164a130b2a169894250 (patch) | |
tree | 014a71175978473f9dacb40466de49ec0747c036 | |
parent | Merge remote-tracking branch 'zx2c4/master' into devel (diff) | |
parent | Do not die with RAID (diff) | |
download | better-initramfs-470b0d97eec92970c3035164a130b2a169894250.tar.xz better-initramfs-470b0d97eec92970c3035164a130b2a169894250.zip |
Merge pull request #36 from zx2c4/devel
Do not die with RAID
-rwxr-xr-x | sourceroot/functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sourceroot/functions.sh b/sourceroot/functions.sh index 3666883..a11b296 100755 --- a/sourceroot/functions.sh +++ b/sourceroot/functions.sh @@ -118,8 +118,8 @@ populate_dev_disk_by_label_and_uuid() { vars="${blkid_output#*:}" eval "${vars}" - [ "${LABEL}" ] && run ln -s "../../${block_device}" "/dev/disk/by-label/${LABEL}" - [ "${UUID}" ] && run ln -s "../../${block_device}" "/dev/disk/by-uuid/${UUID}" + [ "${LABEL}" ] && run ln -sf "../../${block_device}" "/dev/disk/by-label/${LABEL}" + [ "${UUID}" ] && run ln -sf "../../${block_device}" "/dev/disk/by-uuid/${UUID}" done } |