runcmd: use set_close_on_exec()
commit4ecac6067f6637b160f3beff775c43118e6b684a
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Nov 2011 04:18:29 +0000 (30 15:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 22 Dec 2011 13:00:06 +0000 (22 14:00 +0100)
tree882014db15502e9604a42d0a3068dceb92cd46ff
parent81c564798c84a39c92c2c33d57151a9064940152
runcmd: use set_close_on_exec()

this prevents a fd leak to child processes

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Dec 22 14:00:06 CET 2011 on sn-devel-104
lib/util/util_runcmd.c