]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut-initramfs-restore.sh
dracut-initramfs-restore: make mount error nonfatal 87/head
authorAlexander Tsoy <alexander@tsoy.me>
Tue, 28 Jul 2015 11:55:59 +0000 (14:55 +0300)
committerHarald Hoyer <harald@redhat.com>
Tue, 28 Jul 2015 13:04:56 +0000 (15:04 +0200)
commitda5304aabcb7c1b541a8eeabc69627f05ad47c09
tree06a0efd6d3b51d0f6d8973139c7b0ba0e5c373fd
parent2082cdf230574fa7482903730b584445ed3a2a08
dracut-initramfs-restore: make mount error nonfatal

Script enables errexit option (set -e). So if /boot is not a mount point
or is already mounted, then script dies after unsuccessful mount
command. Fix this by always returning successful result.
dracut-initramfs-restore.sh