VirtualBox

Changeset 99488 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Apr 20, 2023 2:51:11 PM (21 months ago)
Author:
vboxsync
Message:

Additions: Linux: rcvboxadd: report UNKNOWN when running kernel module version could not be detected, bugref:10359.

This makes "rcvboxadd status-kernel" logging more user friendly.

File:
1 edited

Legend:

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

    r98708 r99488  
    188188
    189189    [ -n "$mod" ] || return
    190     [ -r "$version_string_path" ] || return
    191 
    192     cat "$version_string_path"
     190    if [ -r "$version_string_path" ]; then
     191        cat "$version_string_path"
     192    else
     193        echo "UNKNOWN"
     194    fi
    193195}
    194196
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