Skip to content

Commit af7e231

Browse files
authored
Merge pull request #227 from mrrobot47/cleanup/exit-1
Update to exit 1 on site creation failure cleanup
2 parents eb87d10 + 3514fd4 commit af7e231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WordPress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ private function catch_clean( $e ) {
16121612
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data );
16131613
\EE\Utils\delem_log( 'site cleanup end' );
16141614
\EE::log( 'Report bugs here: https://github.com/EasyEngine/site-type-wp' );
1615-
exit;
1615+
exit( 1 );
16161616
}
16171617

16181618
/**

0 commit comments

Comments
 (0)