Changeset 701 for branches/samba-3.3.x/source/smbd/server.c
- Timestamp:
- May 8, 2012, 6:36:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/server.c
r578 r701 975 975 976 976 #ifdef __OS2__ 977 /* On OS/2 - we need to remove the PID file on server exit otherwise we may not be able to restart Samba */ 978 char pidFile[1024]; 979 slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), "smbd"); 980 unlink(pidFile); 977 if (am_parent){ 978 /* On OS/2 - we need to remove the PID file on server exit otherwise we may not be able to restart Samba */ 979 char pidFile[1024]; 980 slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), "smbd"); 981 unlink(pidFile); 982 } 981 983 #endif 982 984
Note:
See TracChangeset
for help on using the changeset viewer.