From 8dc804a6e824633fed437d482f7a3b015f7d4852 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 10 Sep 2023 20:46:49 +0200 Subject: [PATCH] crash if fails --- commands/tinfoil.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/tinfoil.py b/commands/tinfoil.py index 2dbed6d..a7b2ddc 100755 --- a/commands/tinfoil.py +++ b/commands/tinfoil.py @@ -60,6 +60,7 @@ for xcz in xczs: subprocess.run( ["rclone", "copy", "-P", "-v", f"{remote}:xcz/{xcz}", "xcz/"], stdout=sys.stdout, + check=True, ) for dlc in dlcs: @@ -67,6 +68,7 @@ for xcz in xczs: subprocess.run( ["rclone", "copy", "-P", "-v", f"{remote}:nsz/dlc/{dlc}", "nsz/dlc/"], stdout=sys.stdout, + check=True, ) for update in updates: @@ -81,4 +83,5 @@ for xcz in xczs: "nsz/updates/", ], stdout=sys.stdout, + check=True, )