Changeset 67319 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jun 9, 2017 1:11:48 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h
r67043 r67319 42 42 struct VBCLSERVICE 43 43 { 44 /** Get the services default path to pidfile, relative to $HOME */44 /** Get the services default path to pidfile, relative to $HOME. Optional */ 45 45 /** @todo Should this also have a component relative to the X server number? 46 46 */ … … 55 55 */ 56 56 void (*cleanup)(struct VBCLSERVICE **ppInterface); 57 /** Should the service daemonise? Only checked if @a getPidFilePath is NULL. */ 58 /** @todo clean this up along with the pidfile handling. */ 59 bool fDaemonise; 57 60 }; 58 61 -
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r67043 r67319 329 329 if (RT_FAILURE(rc)) 330 330 VBClFatalError(("Creating PID file path failed: %Rrc\n", rc)); 331 } 332 if ((*g_pService)->getPidFilePath || (*g_pService)->fDaemonise) 333 { 331 334 if (fDaemonise) 332 335 rc = VbglR3Daemonize(false /* fNoChDir */, false /* fNoClose */, fRespawn, &cRespawn);
Note:
See TracChangeset
for help on using the changeset viewer.