From fdece3b1026ebe0a1e7512bdbd24028aef699318 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 20 May 2016 01:33:34 -0700 Subject: add some backtrace to find the issue --- boot.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 79524850e..5d2f1d744 100755 --- a/boot.php +++ b/boot.php @@ -1864,8 +1864,13 @@ function proc_run(){ } } - for($x = 0; $x < count($args); $x++) + for($x = 0; $x < count($args); $x++) { + if(is_array($args[$x])) { + logger('ERROR: shell args is array . ' . print_r($args,true)); + btlogger('args:'); + } $args[$x] = escapeshellarg($args[$x]); + } $cmdline = implode($args," "); -- cgit v1.2.3