file: patch process stdin to /dev/null
authorJo-Philipp Wich <[email protected]>
Fri, 21 Dec 2018 08:09:55 +0000 (09:09 +0100)
committerJo-Philipp Wich <[email protected]>
Fri, 21 Dec 2018 08:18:23 +0000 (09:18 +0100)
commit67118a6b334cd50c9f39a0c04506befd49bf592a
tree4423b97ef1fa1e2594b909c6bfad8ad8f3912397
parent2e8106ac5683be723b7f4e4ee522678b60b5ab50
file: patch process stdin to /dev/null

This prevents broken pipe errors in executed child processes that
attempt to access stdin.

Suggested-by: Vytautas Virvičius <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
file.c