Changeset 221 for branches/samba-3.3.x/source/smbd/server.c
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/server.c
r206 r221 300 300 if they can grab any of the pending locks 301 301 */ 302 DEBUG(3,(__location__ " Unclean shutdown of pid %u\n", pid));302 DEBUG(3,(__location__ " Unclean shutdown of pid %u\n", (unsigned int)pid)); 303 303 messaging_send_buf(smbd_messaging_context(), procid_self(), 304 304 MSG_SMB_BRL_VALIDATE, NULL, 0); … … 1439 1439 1440 1440 if (*lp_rootdir()) { 1441 if (sys_chroot(lp_rootdir()) == 0) 1442 DEBUG(2,("Changed root to %s\n", lp_rootdir())); 1441 if (sys_chroot(lp_rootdir()) != 0) { 1442 DEBUG(0,("Failed to change root to %s\n", lp_rootdir())); 1443 exit(1); 1444 } 1445 if (chdir("/") == -1) { 1446 DEBUG(0,("Failed to chdir to / on chroot to %s\n", lp_rootdir())); 1447 exit(1); 1448 } 1449 DEBUG(0,("Changed root to %s\n", lp_rootdir())); 1443 1450 } 1444 1451
Note:
See TracChangeset
for help on using the changeset viewer.