Changeset 1544


Ignore:
Timestamp:
Jul 23, 2007, 2:09:29 PM (12 years ago)
Author:
bruno
Message:

Fix a bug in USB part for syslinux error code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1535 r1544  
    17511751        umount $MINDI_TMP/usb
    17521752        syslinux $USBPART 2>> $MINDI_TMP/syslinux.log
     1753        if [ "$?" -ne "0" ] ; then
     1754            echo "----------- syslinux's errors --------------" |tee -a $LOGFILE
     1755            cat $MINDI_TMP/syslinux.log |tee -a $LOGFILE
     1756            LogIt "Failed to create USB image."
     1757        else
     1758            echo -e "$DONE"
     1759            echo "Created bootable USB image on $USBDEVICE" >> $LOGFILE
     1760        fi
     1761        rm -f $MINDI_TMP/syslinux.log
    17531762    else
    17541763        echo "No USB boot support for ia64" | tee -a $LOGFILE
     
    17571766    fi
    17581767    echo -en "."
    1759     if [ "$?" -ne "0" ] ; then
    1760         echo "----------- syslinux's errors --------------" |tee -a $LOGFILE
    1761         cat $MINDI_TMP/syslinux.log |tee -a $LOGFILE
    1762         LogIt "Failed to create USB image."
    1763     else
    1764         echo -e "$DONE"
    1765         echo "Created bootable USB image on $USBDEVICE" >> $LOGFILE
    1766     fi
    1767     rm -f $MINDI_TMP/syslinux.log
    17681768    #
    17691769    # If mondoarchive, then tranfer $MINDI_CACHE content to the USB device
Note: See TracChangeset for help on using the changeset viewer.