Skip to content

wrong exit code by updating plugin #141

@ghost

Description

@unclesamwk commented on Oct 25, 2018, 10:02 PM UTC:

Hey,

i use wpcli und i've got an error by updating an plugin but exitcode is 0 not 1.

root:/html/wordpress > php_cli /tmp/wp plugin update onepress-plus --quiet
+---------------+-------------+-------------+--------+
| name          | old_version | new_version | status |
+---------------+-------------+-------------+--------+
| onepress-plus | 2.0.6       | 2.1.2       | Error  |
+---------------+-------------+-------------+--------+
root:/html/wordpress > echo $?
0

its a bug?

greetings
sam

This issue was moved by schlessera from wp-cli/wp-cli#4983.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions