diff --git a/src/site-type/HTML.php b/src/site-type/HTML.php
index 63465c39..39869625 100644
--- a/src/site-type/HTML.php
+++ b/src/site-type/HTML.php
@@ -440,7 +440,7 @@ private function catch_clean( $e ) {
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'] );
\EE\Utils\delem_log( 'site cleanup end' );
\EE::log( 'Report bugs here: https://github.com/EasyEngine/site-command' );
- exit;
+ exit( 1 );
}
/**
@@ -454,6 +454,6 @@ protected function rollback() {
}
\EE::success( 'Rollback complete. Exiting now.' );
- exit;
+ exit( 1 );
}
}