From 619cfac2cf37a21297dd1fb51116dc4ec30d4112 Mon Sep 17 00:00:00 2001 From: rbalocca Date: Tue, 27 Nov 2007 12:32:14 -0800 Subject: Fix bug in install-system that was preventing error reporting when installing isolinux --- scripts/install-system.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-system.in b/scripts/install-system.in index cf7ff263..49634a03 100755 --- a/scripts/install-system.in +++ b/scripts/install-system.in @@ -461,8 +461,8 @@ install_root_filesystem () { output+=$(cp /live/image/live/vmlinuz-* $rootfsdir/boot/) status=$? output+=$(cp /live/image/live/initrd.img-* $rootfsdir/boot/initrd.img) - status=$status || $? - if [ "$status" != 0 ]; then + status=$status$? + if [ "$status" -ne 0 ]; then echo -e "Error trying to copy the bootfiles.\nPlease see install log for more details.\nExiting. .." echo -e "Error trying to copy the bootfiles.\ncp /boot/initrd.img $rootfsdir/boot/\n$output" >> $INSTALL_LOG -- cgit v1.2.3