Fixed timing window created by daemonize function. Smbmount was going daemon
authorMichael Warfield <mhw@samba.org>
Fri, 13 Nov 1998 20:32:22 +0000 (20:32 +0000)
committerMichael Warfield <mhw@samba.org>
Fri, 13 Nov 1998 20:32:22 +0000 (20:32 +0000)
commit2f456be660b4bbf22c618b506062f812f35e368a
treec6fdaadefa6285c325a685fec6bb433a815c8090
parent887063e421d476fe2c2f6809750af3bfb020a85c
Fixed timing window created by daemonize function.  Smbmount was going daemon
before the mount was actually completed.  This caused weird problems when
used with autofs such as empty directories on first listing or files which
would appear in "ls" but would return "no such file or directory" under
"ls -l".  Note to Volker:  Initial attempt from CIFS conference didn't work.
Had to move daemonize function inside of loop after ioctl.
source/client/smbmount.c