Print stdin output
This commit is contained in:
parent
07f8007399
commit
f8322c0bfa
|
@ -24,6 +24,7 @@ def main(args, path: Path, log: Log):
|
||||||
else:
|
else:
|
||||||
log.debug("reading from stdin")
|
log.debug("reading from stdin")
|
||||||
borg_output = " ".join(stdin.readlines())
|
borg_output = " ".join(stdin.readlines())
|
||||||
|
log.debug(f"stdin output: {borg_output}")
|
||||||
if args.label is None:
|
if args.label is None:
|
||||||
log.error("No label supplied")
|
log.error("No label supplied")
|
||||||
raise Exception("No label supplied")
|
raise Exception("No label supplied")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user