mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
sleep 3 seconds before deleting subvolume
This commit is contained in:
parent
2ddb524f77
commit
61c408c8e4
@ -49,6 +49,7 @@ class BtrfsHook(JobHook):
|
||||
out = sh.mv(self.working_dir, self.service_dir)
|
||||
assert out.exit_code == 0 and out.stderr == ""
|
||||
# print("btrfs subvolume delete {}".format(self.tmp_dir))
|
||||
sh.sleep(3)
|
||||
out = sh.btrfs("subvolume", "delete", self.tmp_dir)
|
||||
assert out.exit_code == 0 and out.stderr == ""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user