Skip to content

Commit

Permalink
Merge pull request #105 from mrrobot47/rollback/exit-1
Browse files Browse the repository at this point in the history
Update to exit 1 on failure rollback
  • Loading branch information
mrrobot47 authored Oct 2, 2024
2 parents 82a5c9e + acc7072 commit 6404b45
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 6404b45

Please sign in to comment.