Commit c6051d36 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Avoid star error messsage when no changed files

parent ebfecd55
......@@ -57,6 +57,8 @@ class Backup:
cwd=os.path.join(mount, path),
stdin=self.primary_out)
atexit.register(cond_kill, self.extract)
# Make sure that the generated star archive is not empty
self.primary_in.write(b'.\n')
def close(self):
self.primary_in.flush()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment