diff --git a/app/Console/Commands/NntmuxResetDb.php b/app/Console/Commands/NntmuxResetDb.php index ff1929d95..1b1de2af2 100644 --- a/app/Console/Commands/NntmuxResetDb.php +++ b/app/Console/Commands/NntmuxResetDb.php @@ -43,6 +43,7 @@ class NntmuxResetDb extends Command // Allow database reset only if app environment is local if (app()->environment() !== 'local') { $this->error('This command can only be run in local environment'); + return; } if ($this->confirm('This script removes all releases, nzb files, samples, previews , nfos, truncates all article tables and resets all groups. Are you sure you want reset the DB?')) {