|
Lines 60-66
Link Here
|
| 60 |
EOF |
60 |
EOF |
| 61 |
fi |
61 |
fi |
| 62 |
|
62 |
|
| 63 |
SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` |
63 |
SERVER_PID=`ps -U ${LOGNAME:-$USER} | grep VBoxSVC | awk '{ print $1 }'` |
| 64 |
if [ -z "$SERVER_PID" ]; then |
64 |
if [ -z "$SERVER_PID" ]; then |
| 65 |
# Server not running yet/anymore, cleanup socket path. |
65 |
# Server not running yet/anymore, cleanup socket path. |
| 66 |
# See IPC_GetDefaultSocketPath()! |
66 |
# See IPC_GetDefaultSocketPath()! |