Skip to content

Commit

Permalink
try different ordering of "--ignore-failed-read"
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Oct 24, 2022
1 parent cbba87c commit d783c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container_guts/main/container/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def export(self, image, tmpdir=None, cleanup=True):
os.makedirs(dirname)

try:
self.call(["tar", "-xf", "--ignore-failed-read", export, "-C", export_dir])
self.call(["tar", "-xf", "--ignore-failed-read", save, "-C", save_dir])
self.call(["tar", "--ignore-failed-read", "-xf", export, "-C", export_dir])
self.call(["tar", "--ignore-failed-read", "-xf", save, "-C", save_dir])
except:
self.call(["tar", "-xf", export, "-C", export_dir])
self.call(["tar", "-xf", save, "-C", save_dir])
Expand Down

0 comments on commit d783c7a

Please sign in to comment.