Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 61ef636

Browse files
Additions: X11: Fix isse when VBoxService was not started due to abandoned pid file.
svn:sync-xref-src-repo-rev: r171078
1 parent f9d2f09 commit 61ef636

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/VBox/Additions/linux/installer/vboxadd-service.sh‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# $Id: vboxadd-service.sh 110684 2025-08-11 17:18:47Z klaus.espenlaub@oracle.com $
2+
# $Id: vboxadd-service.sh 111516 2025-10-29 15:12:17Z vadim.galitsyn@oracle.com $
33
## @file
44
# Linux Additions Guest Additions service daemon init script.
55
#
@@ -156,6 +156,15 @@ status() {
156156
return $RETVAL
157157
}
158158

159+
# Remove PIDFILE if process no longer running.
160+
update_pidfile() {
161+
if [ -f $PIDFILE ]; then
162+
[ -d "/proc/$(cat $PIDFILE)" ] || rm -f "$PIDFILE"
163+
fi
164+
}
165+
166+
update_pidfile
167+
159168
case "1ドル" in
160169
start)
161170
start

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /