Skip to content

Commit 09af1a6

Browse files
authored
Merge pull request #106 from mrrobot47/cleanup/exit-1
Update to exit 1 on site creation failure cleanup
2 parents 6404b45 + 42a347d commit 09af1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ private function catch_clean( $e ) {
973973
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data );
974974
\EE\Utils\delem_log( 'site cleanup end' );
975975
\EE::log( 'Report bugs here: https://github.com/EasyEngine/site-type-php' );
976-
exit;
976+
exit( 1 );
977977
}
978978

979979
/**

0 commit comments

Comments
 (0)