summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-06-12 13:27:38 +0200
committerKim Hagen <kim.sidney@gmail.com>2019-06-12 13:27:38 +0200
commit97985e233201aaee08aeba39abcec5188edc769e (patch)
treeb2c4a862025d5f98a5226bacc134df491ab56cc8 /scripts/install
parent52856255026d37001e9a4b7749110a0e49ef2c5d (diff)
downloadvyatta-cfg-system-97985e233201aaee08aeba39abcec5188edc769e.tar.gz
vyatta-cfg-system-97985e233201aaee08aeba39abcec5188edc769e.zip
fix if statement
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition2
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