VirtualBox

Changeset 38542 in vbox


Ignore:
Timestamp:
Aug 26, 2011 9:14:29 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73694
Message:

Additions/linux/installer: really finish the rest of the installation if building the kernel modules fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r38093 r38542  
    197197}
    198198
    199 fail()
     199show_error()
    200200{
    201201    if [ "$system" = "gentoo" ]; then
    202202        eerror $1
    203         exit 1
    204203    fi
    205204    fail_msg
    206205    echo "($1)"
     206}
     207
     208fail()
     209{
     210    show_error "$1"
    207211    exit 1
    208212}
     
    389393            --save-module-symvers /tmp/vboxguest-Module.symvers \
    390394            --no-print-directory install >> $LOG 2>&1; then
    391             fail "Look at $LOG to find out what went wrong"
     395            show_error "Look at $LOG to find out what went wrong"
     396            return 1
    392397        fi
    393398        succ_msg
     
    398403            --use-module-symvers /tmp/vboxguest-Module.symvers \
    399404            --no-print-directory install >> $LOG 2>&1; then
    400             fail "Look at $LOG to find out what went wrong"
     405            show_error  "Look at $LOG to find out what went wrong"
     406            return 1
    401407        fi
    402408        succ_msg
     
    407413            --use-module-symvers /tmp/vboxguest-Module.symvers \
    408414            --no-print-directory install >> $LOG 2>&1; then
    409             fail "Look at $LOG to find out what went wrong"
     415            show_error "Look at $LOG to find out what went wrong"
     416            return 1
    410417        fi
    411418        succ_msg
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette