diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-06-12 13:27:38 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-06-12 13:27:38 +0200 |
commit | 97985e233201aaee08aeba39abcec5188edc769e (patch) | |
tree | b2c4a862025d5f98a5226bacc134df491ab56cc8 /scripts/install | |
parent | 52856255026d37001e9a4b7749110a0e49ef2c5d (diff) | |
download | vyatta-cfg-system-97985e233201aaee08aeba39abcec5188edc769e.tar.gz vyatta-cfg-system-97985e233201aaee08aeba39abcec5188edc769e.zip |
fix if statement
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-get-partition | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 9f6473e1..560125c2 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -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 |