Skip to content

router/relay --create-config returns 0 on error #287

@egorpugin

Description

@egorpugin

It would be nice to return 1 to indicate an error when router or relay cannot --create-config to integrate this step into scripts.
So script will stop on error instead of continuing.

Settings file path: "/etc/aspia/router.json"
Settings file already exists. Continuation is impossible.

echo $?
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions