diff --git a/inc/cli/class-migrate-command.php b/inc/cli/class-migrate-command.php index 47f4ab4..594cca9 100644 --- a/inc/cli/class-migrate-command.php +++ b/inc/cli/class-migrate-command.php @@ -260,7 +260,7 @@ function ppa( $args, $assoc_args ) : void { if ( is_wp_error( $ppa_terms ) ) { WP_CLI::error( 'There was an error fetching the PublishPress Author data, is the plugin activated?', false ); WP_CLI::error( $ppa_terms, false ); - exit; + exit( 1 ); } /**