summaryrefslogtreecommitdiff
path: root/lib/open3.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/open3.pl')
-rw-r--r--lib/open3.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/open3.pl b/lib/open3.pl
index 1dbe525f68..7c8b6ae288 100644
--- a/lib/open3.pl
+++ b/lib/open3.pl
@@ -90,9 +90,8 @@ sub main'open3 {
} else {
open(STDERR, ">&STDOUT") if (fileno(STDERR) != fileno(STDOUT));
}
- exec @cmd;
-
local($")=(" ");
+ exec @cmd;
die "open2: exec of @cmd failed";
}