run(): Drop extra sig_unblock()

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-05-30 11:26:41 +02:00
parent 94c0d1b833
commit 4362971c6a
-2
View File
@@ -107,8 +107,6 @@ int run(char *cmd)
if (0 == pid) {
FILE *fp;
/* Reset signal handlers that were set by the parent process */
sig_unblock();
setsid();
/* Always redirect stdio for run() */