From 755160e1d2eee11eddc8113946da8714961092c3 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 18 Mar 2014 16:31:12 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=B2=B4=ED=81=AC=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 98a90ebf0..829e4ed3c 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2543,10 +2543,10 @@ function module_exec_check($exe, $type) } break; case 'pp_cli': - exec($exe.' -h 2>&1', $out); + exec($exe.' -h 2>&1', $out, $return_var); - if(empty($out)) { - $executable = false; + if($return_var == 139) { + $isbinary = false; break; }