Skip to content

Commit c6bab76

Browse files
committed
Update to exit 1 on failure rollback
Signed-off-by: Riddhesh Sanghvi <riddhesh237@gmail.com>
1 parent bd2d589 commit c6bab76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WordPress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ protected function rollback() {
16291629
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data );
16301630
}
16311631
\EE::success( 'Rollback complete. Exiting now.' );
1632-
exit;
1632+
exit( 1 );
16331633
}
16341634

16351635
}

0 commit comments

Comments
 (0)