Skip to content

Commit 1552889

Browse files
authored
Merge pull request #439 from EasyEngine/cleanup/exit-1
Update to exit 1 on site creation failure cleanup
2 parents 12f3741 + ca32e74 commit 1552889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/site-type/HTML.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ private function catch_clean( $e ) {
440440
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'] );
441441
\EE\Utils\delem_log( 'site cleanup end' );
442442
\EE::log( 'Report bugs here: https://github.com/EasyEngine/site-command' );
443-
exit;
443+
exit( 1 );
444444
}
445445

446446
/**

0 commit comments

Comments
 (0)