Compare commits

..

2 Commits

View File

@ -284,7 +284,7 @@ def main(argv: list[str]):
backup.run(out) backup.run(out)
sys.stdout.flush() sys.stdout.flush()
else: else:
borg = subprocess.Popen([borg, borg = subprocess.Popen([args.borg,
"create", "create",
"--verbose", "--verbose",
"--list", "--list",
@ -386,7 +386,7 @@ def main(argv: list[str]):
summary = warnmsg summary = warnmsg
# Call notify.sh # Call notify.sh
res = subprocess.run([notify, summary, email], input=body_text) res = subprocess.run([args.notify, summary, email], input=body_text)
if res.returncode != 0: if res.returncode != 0:
backup.log('E', f"failed to send notification") backup.log('E', f"failed to send notification")
errors += 1 errors += 1