Skip to content

Commit 9768157

Browse files
committed
Fixed a bug in the app detection code.
1 parent 6ecbdc8 commit 9768157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/install.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ function removeLine($filename,$search_pattern,$strict = 0) {
606606
}
607607

608608
function is_installed($appname) {
609-
exec('which '.escapeshellcmd($appname).' > /dev/null 2> /dev/null',$out);
609+
exec('which '.escapeshellcmd($appname).' 2> /dev/null',$out);
610610
if(isset($out[0]) && stristr($out[0],$appname)) {
611611
return true;
612612
} else {

0 commit comments

Comments
 (0)