summaryrefslogtreecommitdiff
path: root/scripts/install/install-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-xscripts/install/install-image4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image
index 1b482a19..dbdd5901 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -214,7 +214,7 @@ install_new ()
# postinst operations
if ! /opt/vyatta/sbin/install-postinst-new \
- "$inst_drv" "$root_part" union; then
+ "$inst_drv" "$root_part" union; then
exit 1
fi
}
@@ -297,7 +297,7 @@ rm -f $PART_FILE >&/dev/null
# handle different types
case "$root_part_type" in
new)
- install_new "$root_part" "$inst_drv"
+ install_new "$root_part" "$inst_drv"
exit 0
;;
union|old)