We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fc41a1 commit 2f8a706Copy full SHA for 2f8a706
1 file changed
Classes/Command/SupervisorCommandController.php
@@ -81,7 +81,7 @@ public function updateGroupsCommand(): void
81
protected function runSupervisorCommand(Model\Group $group, int $key, string $action): bool
82
{
83
$output = [];
84
- $command = sprintf('sudo supervisorctl %s %s%s 2>&1',escapeshellarg($action), escapeshellarg($group->getName()), $action !== 'update' ? ':' : '');
+ $command = sprintf('supervisorctl %s %s%s 2>&1',escapeshellarg($action), escapeshellarg($group->getName()), $action !== 'update' ? ':' : '');
85
$output = exec($command, $output, $result);
86
if ($result !== 0) {
87
if (count($output) > 0) {
0 commit comments