Skip to content

Commit

Permalink
Merge pull request #106 from mrrobot47/cleanup/exit-1
Browse files Browse the repository at this point in the history
Update to exit 1 on site creation failure cleanup
  • Loading branch information
mrrobot47 authored Oct 3, 2024
2 parents 6404b45 + 42a347d commit 09af1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,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-php' );
exit;
exit( 1 );
}

/**
Expand Down

0 comments on commit 09af1a6

Please sign in to comment.