Skip to content

on_exit in release version #26

@bobrik

Description

@bobrik

In 1.2.0 (installed from homebrew) if no on_error specified you'll get:

mon : last restart less than one second ago
mon : 1 attempts remaining
mon : 10 restarts within 1 second, bailing
mon : on error `(null) 50003`
sh: -c: line 0: syntax error near unexpected token `50003'
sh: -c: line 0: `(null) 50003'
mon : exit(512)
mon : bye :)

In HEAD you'll get:

mon : last restart less than one second ago
mon : 1 attempts remaining
mon : 10 restarts within 1 second, bailing
mon : bye :)

which is much more adequate. I suggest to make a release with that fix :)

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