From 7d3fd4410cf10d3e10d377d9723f604d72bd58cb Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Thu, 12 Jun 2014 19:28:03 +0200 Subject: [PATCH] Fix for configuring sudo option for bconsole access --- gui/baculum/protected/Class/Bconsole.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5