Skip to content

borg should report a warning if borg exits with exit code 1

Right now, backupninja reports a fatal error if borg exits with 1 (or anything other then 0).

However an exit code of 1 should be considered a warning, not an error.

This is a useful change because now backupninja reports a fatal error if borg simply failed to backup a file that was removed during the backup.

Thanks!

Edited by Jamie McClelland
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information