Skip to content

Incorrect Return Value #33

@meshcore0711

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

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