diff options
author | Tim Potter <tpot@samba.org> | 2003-04-07 07:12:25 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-07 07:12:25 +0000 |
commit | 6254b9bd4422ad142625784bc99e72c2385918eb (patch) | |
tree | a411b8e22b814d88bab27f0973b6374d8c03978f /source3 | |
parent | 3d9bdca22e990aa7aa7eb6b5723937f951049083 (diff) | |
download | samba-6254b9bd4422ad142625784bc99e72c2385918eb.tar.gz samba-6254b9bd4422ad142625784bc99e72c2385918eb.tar.bz2 samba-6254b9bd4422ad142625784bc99e72c2385918eb.zip |
Create a pidfile, even when running in interactive mode.
(This used to be commit 1d7400e679df136f03daf79788ea998c5a787f89)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index c096ca9b0f..eb8a36af55 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -866,11 +866,10 @@ int main(int argc, char **argv) if (!init_names()) exit(1); - if (!interactive) { + if (!interactive) become_daemon(Fork); - pidfile_create("winbindd"); - } + pidfile_create("winbindd"); #if HAVE_SETPGID /* |