run_interactive(): Fix copy-paste bug introduced in 06b33c5.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2014-11-26 17:58:50 +01:00
parent 06b33c58fd
commit 83cec7129a
+1 -1
View File
@@ -536,7 +536,7 @@ int run_interactive(char *cmd, char *fmt, ...)
}
if (olderr >= 0) {
dup2(olderr, STDERR_FILENO);
close(oldout);
close(olderr);
}
}