usign-exec: do not close stdin and stderr before exec
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 16 May 2020 16:00:24 +0000 (18:00 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 16 May 2020 16:26:34 +0000 (18:26 +0200)
commit112488bbbccc0581926b65ab093d495bff2dd8cf
tree42c73ad1fdb5c241e302ff3646ffe04d301d6480
parent38dcb1a6f12115e156aa4f36997bd4760347e821
usign-exec: do not close stdin and stderr before exec

FDs 0, 1 and 2 should always be available. This also allows the exec error
message in the forked process to be displayed.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
usign-exec.c