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 <riddhesh237@gmail.com>
  • Loading branch information
mrrobot47 committed Oct 2, 2024
1 parent bd2d589 commit c6bab76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,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 c6bab76

Please # to comment.