Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
This commit is contained in:
commit
1b1c95d8ce
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ class BulkPowerActionCommand extends Command
|
||||||
}
|
}
|
||||||
|
|
||||||
$count = $this->repository->getServersForPowerActionCount($servers, $nodes);
|
$count = $this->repository->getServersForPowerActionCount($servers, $nodes);
|
||||||
if (! $this->confirm(trans('command/messages.server.power.confirm', ['action' => $action, 'count' => $count]))) {
|
if (! $this->confirm(trans('command/messages.server.power.confirm', ['action' => $action, 'count' => $count])) && $this->input->isInteractive()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ class BulkReinstallActionCommand extends Command
|
||||||
{
|
{
|
||||||
$servers = $this->getServersToProcess();
|
$servers = $this->getServersToProcess();
|
||||||
|
|
||||||
if (! $this->confirm(trans('command/messages.server.reinstall.confirm'))) {
|
if (! $this->confirm(trans('command/messages.server.reinstall.confirm')) && $this->input->isInteractive()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue