VirtualBox

Ignore:
Timestamp:
Apr 21, 2023 3:40:07 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157004
Message:

Additions: Linux: rcvboxadd-service: set proper exit code when checking VBoxService status, bugref:10359.

File:
1 edited

Legend:

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

    r98103 r99507  
    140140    if [ -f $PIDFILE ]; then
    141141        echo " ...running"
     142        RETVAL=0
    142143    else
    143144        echo " ...not running"
     145        RETVAL=1
    144146    fi
     147
     148    return $RETVAL
    145149}
    146150
     
    166170    exit 1
    167171esac
    168 
    169 exit $RETVAL
Note: See TracChangeset for help on using the changeset viewer.

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