VirtualBox

Ignore:
Timestamp:
Mar 6, 2014 2:19:27 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92679
Message:

Additions/x11/installer: change some code which did not work on Solaris 10 and simplify it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/Installer/98vboxadd-xclient

    r42261 r50714  
    1616#
    1717
    18 # It can happen that pidfiles from a sudo session can land in the user's
    19 # home directory and prevent new ones from being created.  This is not really
    20 # our fault, but the user may not quite appreciate that...
     18# Sanity check: if non-writeable PID-files are present in the user home
     19# directory VBoxClient will fail to start.
    2120for i in $HOME/.vboxclient-*.pid; do
    22   if test -r $i && ! ps -e | grep `cat $i`; then
    23     rm -f $i
    24   fi
     21    test -w $i || rm -f $i
    2522done
    2623
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