summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-06-12 13:27:38 +0200
committerUnicronNL <kim.sidney@gmail.com>2019-06-18 19:43:05 +0200
commitc27a6def32b7c7ec504210c0e5dd78c0f61130d7 (patch)
treed6bb9311e5f11d59f8ae649484876515be430494 /scripts
parent07d3ef977d65aa9ec20ffdbb8fd035178af95ff0 (diff)
downloadvyatta-cfg-system-c27a6def32b7c7ec504210c0e5dd78c0f61130d7.tar.gz
vyatta-cfg-system-c27a6def32b7c7ec504210c0e5dd78c0f61130d7.zip
fix if statement
Diffstat (limited to 'scripts')
-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