Skip to content

Incorrect Return Value #33

Description

@meshcore0711

Hi,

I'm using meshcli via scripts but now I figured out, that the handling of the return value seems to be NOT OK:

meshcli -a INCORRECT-ADDR lc
INFO:meshcore:Error while connecting, retrying once ...
INFO:meshcore:Scanning BLE for device matching 10:20:BA:0B:CA:DE
INFO:meshcore:Couldn't find device 10:20:BA:0B:CA:DE
echo $?
0

In my opinion, return value should'nt be 0 if something goes wrong

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions