Changeset 27321 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 12, 2010 11:10:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/process-posix.cpp
r27287 r27321 302 302 { 303 303 rc = RTProcDaemonize(true /* fNoChDir */, false /* fNoClose */, NULL /* pszPidFile */); 304 AssertReleaseMsgFailed(("RTProcDaemonize returns %Rrc errno=%d\n", rc, errno)); 305 exit(127); 304 if (RT_FAILURE(rc)) 305 { 306 AssertReleaseMsgFailed(("RTProcDaemonize returns %Rrc errno=%d\n", rc, errno)); 307 exit(127); 308 } 306 309 } 307 310 … … 505 508 506 509 if (!fNoChDir) 510 { 507 511 int rcChdir = chdir("/"); 512 } 508 513 509 514 /* Second fork to lose session leader status. */
Note:
See TracChangeset
for help on using the changeset viewer.