summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-11-06 01:24:28 +0100
committerBertrand Jacquin <beber@meleeweb.net>2013-11-06 01:30:47 +0100
commit5cab004a75edc3fa3633e383f8755fc2fa8fd45c (patch)
treefb483e7ce5a11fcab0b83377fe36db4b3acca70f
parent09bff77be74bb34565a23cf440f76d35b3291f04 (diff)
downloadenlightenment-5cab004a75edc3fa3633e383f8755fc2fa8fd45c.tar.gz
BUG/MINOR: avoid bashism in system() call
Other shell than >=bash-4 and dash does not support '&>' I/O redirection. Introduce in commit v0.17.5-1-g09bff77 « While at it, I also fixed the piping of stdout and stderr to be nicer. »
-rw-r--r--src/bin/e_sys_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c
index f4a4332fa8..23644963ed 100644
--- a/src/bin/e_sys_main.c
+++ b/src/bin/e_sys_main.c
@@ -165,7 +165,7 @@ main(int argc,
"-ex 'set logging file %s' "
"-ex 'set logging on' "
"-ex 'thread apply all backtrace full' "
- "-ex detach &> /dev/null < /dev/zero",
+ "-ex detach > /dev/null 2>&1 < /dev/zero",
cmd,
pid,
output ?: "e-output.txt");