mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Improved non-interactive command support (#1824)
The following commands no longer need confirmation when the input is not interactive: - server:bulk-power - server:reinstall
This commit is contained in:
@@ -71,7 +71,7 @@ class BulkReinstallActionCommand extends Command
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user