Module: nagvis Branch: master Commit: b4f8e4004ba1e7085396ec989b8a1d055901138e URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=b4f8e4004ba1e7085396ec989b8a1d055901138e
Author: LaMi <[email protected]> Date: Mon Mar 29 23:05:18 2010 +0200 #232 removed stderr output of which command --- share/server/core/classes/NagVisAutoMap.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/server/core/classes/NagVisAutoMap.php b/share/server/core/classes/NagVisAutoMap.php index bdcb1b6..01d9720 100644 --- a/share/server/core/classes/NagVisAutoMap.php +++ b/share/server/core/classes/NagVisAutoMap.php @@ -615,7 +615,7 @@ class NagVisAutoMap extends GlobalMap { $this->CORE->getMainCfg()->setValue('automap','graphvizpath',str_replace($binary,'',$arrReturn[0])); } - exec('which '.$this->CORE->getMainCfg()->getValue('automap','graphvizpath').$binary, $arrReturn, $returnCode2); + exec('which '.$this->CORE->getMainCfg()->getValue('automap','graphvizpath').$binary. ' 2>&1', $arrReturn, $returnCode2); if(!$returnCode2) { $this->CORE->getMainCfg()->setValue('automap','graphvizpath',str_replace($binary,'',$arrReturn[0])); ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
