aboutsummaryrefslogtreecommitdiffstats
path: root/frame-steamos/patch-frame
diff options
context:
space:
mode:
Diffstat (limited to 'frame-steamos/patch-frame')
-rwxr-xr-xframe-steamos/patch-frame8
1 files changed, 7 insertions, 1 deletions
diff --git a/frame-steamos/patch-frame b/frame-steamos/patch-frame
index a3e6440..4911006 100755
--- a/frame-steamos/patch-frame
+++ b/frame-steamos/patch-frame
@@ -192,10 +192,16 @@ def stop():
"--output",
"TARGET",
],
- check=True,
capture_output=True,
text=True,
)
+ if (
+ result.returncode == 1
+ and not result.stdout.strip()
+ and not result.stderr.strip()
+ ):
+ return
+ result.check_returncode()
for target in reversed(
[
Path(row["target"])