Skip to content

rsync always reporting exit status 0 when ran with eval in the script, even when failing #87

Description

@UnconnectedBedna

Describe the bug
Exit status not reported correctly when rsync is ran with eval within the script

To Reproduce
Run shrink-backup where rsync fails for one reason or another

Additional context
The eval line always returns exit status 0 even if it fails.
If for example rsync is not installed, eval will still report exit status 0 (success)

Activity

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

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions