VirtualBox

Changeset 44095 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Dec 11, 2012 2:58:48 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82620
Message:

Installer/linux: fix VBoxHeadlessXOrg.sh stopping to really stop the process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/scripts/VBoxHeadlessXOrg.sh

    r44093 r44095  
    206206  # conf_file=$2
    207207  # log_file=$3
    208   Xorg :"${1}" -auth "${auth}" -config "${2}" -logverbose 0 -logfile /dev/null -verbose 7 > "${3}" 2>&1
     208  trap "kill \${PID} 2>/dev/null" ${EXIT_SIGNALS}
     209  Xorg :"${1}" -auth "${auth}" -config "${2}" -logverbose 0 -logfile /dev/null -verbose 7 > "${3}" 2>&1 &
     210  PID="$!"
     211  wait
    209212}
    210213HEADLESS_X_ORG_SERVER_COMMAND="default_command"
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