lib/util/run_cmd: ensure fd_stdin gets set to -1 in the destructor
authorRalph Boehme <slow@samba.org>
Fri, 29 Sep 2017 11:06:08 +0000 (13:06 +0200)
committerRalph Boehme <slow@samba.org>
Sat, 30 Sep 2017 06:01:24 +0000 (08:01 +0200)
commit4aaf072d1fd732abf2cbea135d508260cdafa4eb
tree2849bb50ba642b43a299c76cb3115f95ae8120f1
parent9a8eeabd95afca2e88666b3e8f2af954dbf23ba9
lib/util/run_cmd: ensure fd_stdin gets set to -1 in the destructor

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13062

Pair-programmed-with: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
lib/util/util_runcmd.c