Changeset 24820 in vbox for trunk/src/VBox/Main/xpcom
- Timestamp:
- Nov 20, 2009 12:29:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xpcom/server.cpp
r23973 r24820 748 748 { 749 749 { "automate", no_argument, NULL, 'a' }, 750 # 750 #if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) 751 751 { "auto-shutdown", no_argument, NULL, 'A' }, 752 752 #endif 753 753 { "daemonize", no_argument, NULL, 'd' }, 754 754 { "pidfile", required_argument, NULL, 'p' }, 755 # 755 #if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) 756 756 { "pipe", required_argument, NULL, 'P' }, 757 757 #endif … … 829 829 NOREF(fDaemonize); 830 830 831 #else // ifdefRT_OS_OS2831 #else // !RT_OS_OS2 832 832 833 833 if (fDaemonize) … … 937 937 apszArgs[i++] = NULL; Assert(i <= RT_ELEMENTS(apszArgs)); 938 938 execv (apszArgs[0], (char * const *)apszArgs); 939 exit ( 0);939 exit (126); 940 940 # endif 941 941 } 942 942 943 #endif // ifdefRT_OS_OS2943 #endif // !RT_OS_OS2 944 944 945 945 /*
Note:
See TracChangeset
for help on using the changeset viewer.