summary refs log tree commit diff
path: root/src/exec.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/exec.c b/src/exec.c
index c55683d..8a1f722 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -110,7 +110,6 @@ shellexec(char **argv, const char *path, int idx)
 	char **envp;
 	int exerrno;
 
-	clearredir(1);
 	envp = environment();
 	if (strchr(argv[0], '/') != NULL) {
 		tryexec(argv[0], argv, envp);