From: Marcin Haba Date: Thu, 12 Jun 2014 17:28:03 +0000 (+0200) Subject: Fix for configuring sudo option for bconsole access X-Git-Tag: Release-7.0.5~57 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7d3fd4410cf10d3e10d377d9723f604d72bd58cb;p=bacula%2Fbacula Fix for configuring sudo option for bconsole access --- diff --git a/gui/baculum/protected/Class/Bconsole.php b/gui/baculum/protected/Class/Bconsole.php index a81c75b195..ed178483e6 100644 --- a/gui/baculum/protected/Class/Bconsole.php +++ b/gui/baculum/protected/Class/Bconsole.php @@ -132,7 +132,7 @@ class Bconsole extends TModule { } public function testBconsoleCommand(array $command, $bconsoleCmdPath, $bconsoleCfgPath, $useSudo) { - $this->setEnvironmentParams($bconsoleCmdPath, $bconsoleCfgPath, $useSudo, null); + $this->setEnvironmentParams($bconsoleCmdPath, $bconsoleCfgPath, null, $useSudo); $director = array_shift($this->getDirectors()->output); return $this->bconsoleCommand($director, $command); }