VirtualBox

Changeset 32583 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Sep 17, 2010 9:46:57 AM (14 years ago)
Author:
vboxsync
Message:

Solaris/Installer: fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/vboxconfig.sh

    r32582 r32583  
    645645
    646646    procname=$1
    647     procpid=`ps -eo pid,fname | grep $PROC_NAME | grep -v grep | awk '{ print $1 }'`
     647    procpid=`ps -eo pid,fname | grep $procname | grep -v grep | awk '{ print $1 }'`
    648648    if test ! -z "$procpid" && test "$procpid" -ge 0; then
    649649        $BIN_PKILL "$procname"
    650650        sleep 2
    651         procpid=`ps -eo pid,fname | grep $PROC_NAME | grep -v grep | awk '{ print $1 }'`
     651        procpid=`ps -eo pid,fname | grep $procname | grep -v grep | awk '{ print $1 }'`
    652652        if test ! -z "$procpid" && test "$procpid" -ge 0; then
    653653            subprint "Terminating: $procname  ...FAILED!"
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