diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-09-17 06:36:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-09-17 06:36:08 +0000 |
commit | 1e1a512e3ff59f962fb3de382f671618bed60839 (patch) | |
tree | 838d1a01bd17a309c45f2739c665472e9351775d /source/lib/system.c | |
parent | ffa450acddb7aec6a440ae3fe6032c109805d176 (diff) | |
download | samba-1e1a512e3ff59f962fb3de382f671618bed60839.tar.gz samba-1e1a512e3ff59f962fb3de382f671618bed60839.tar.xz samba-1e1a512e3ff59f962fb3de382f671618bed60839.zip |
fixed a potential problem with wins_write_database() child processes.
In sig_term() we were calling wins_write_database(0) which would fork a
child. This child might then get killed by the same process killing
off the parent. That process would then fork another child etc.
The solution is to pass a "background" flag to wins_write_database(0)
and only fork if this is set.
Diffstat (limited to 'source/lib/system.c')
0 files changed, 0 insertions, 0 deletions