Skip to content

Commit

Permalink
fix if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicronNL committed Jun 12, 2019
1 parent 5285625 commit 97985e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install/install-get-partition
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ check_for_new_raid () {
if [ $? = 0 -a -e /dev/$raid_dev ]; then
echo "RAID-1 group created successfully:"
cat /proc/mdstat | grep --after-context 2 ^$raid_dev | sed -e 's/^/\t/'
if [ -e /usr/sbin/update-initramfs.orig.initramfs-tools ]
if [ -e /usr/sbin/update-initramfs.orig.initramfs-tools ]; then
echo "Updating initramfs to include the raid config:"
/usr/sbin/update-initramfs.orig.initramfs-tools -u
fi
Expand Down

0 comments on commit 97985e2

Please sign in to comment.