diff --git a/src/IntuneCD/run_backup.py b/src/IntuneCD/run_backup.py index 81cbc4e6..b74d1b22 100644 --- a/src/IntuneCD/run_backup.py +++ b/src/IntuneCD/run_backup.py @@ -365,7 +365,7 @@ def run_backup(path, output, exclude, token, prefix): if args.intunecdmonitor: old_stdout = sys.stdout sys.stdout = feedstdout = StringIO() - count = run_backup(args.path, args.output, exclude, token) + count = run_backup(args.path, args.output, exclude, token, args.prefix) sys.stdout = old_stdout feed_bytes = feedstdout.getvalue().encode("utf-8") out = base64.b64encode(feed_bytes).decode("utf-8")