Skip to content

Commit

Permalink
Update to exit 1 on failure rollback
Browse files Browse the repository at this point in the history
Signed-off-by: Riddhesh Sanghvi <[email protected]>
  • Loading branch information
mrrobot47 committed Oct 2, 2024
1 parent 82a5c9e commit acc7072
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 @@ -990,7 +990,7 @@ protected function rollback() {
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data );
}
\EE::success( 'Rollback complete. Exiting now.' );
exit;
exit( 1 );
}

}

0 comments on commit acc7072

Please sign in to comment.