From 3514fd4b80d1e148c1cdbb986429c3a5ebf2f98f Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Thu, 3 Oct 2024 17:16:14 +0530 Subject: [PATCH] Update to exit 1 on site creation failure cleanup Signed-off-by: Riddhesh Sanghvi --- src/WordPress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WordPress.php b/src/WordPress.php index 4bb2ac6..fd18d25 100644 --- a/src/WordPress.php +++ b/src/WordPress.php @@ -1612,7 +1612,7 @@ private function catch_clean( $e ) { $this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data ); \EE\Utils\delem_log( 'site cleanup end' ); \EE::log( 'Report bugs here: https://github.com/EasyEngine/site-type-wp' ); - exit; + exit( 1 ); } /**