diff --git a/src/Console/Commands/StaticClear.php b/src/Console/Commands/StaticClear.php index 3aaecfe94d..ee8c0709b7 100644 --- a/src/Console/Commands/StaticClear.php +++ b/src/Console/Commands/StaticClear.php @@ -36,7 +36,7 @@ public function handle() if (! config('statamic.static_caching.strategy')) { $this->components->error('Static caching is not enabled.'); - return 1; + return 0; } spin(callback: fn () => StaticCache::flush(), message: 'Clearing the static page cache...');