about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 14:26:58 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 14:26:58 +0200
commitc0245c2a33dd4b59067f7b67dc4f26190abab59c (patch)
tree442e4f18b489cf6844cd5ce3b8255393772fb2ee /src
parentfix(subscriptions/add): Ignore the trailing slash on URLs (diff)
downloadyt-c0245c2a33dd4b59067f7b67dc4f26190abab59c.tar.gz
yt-c0245c2a33dd4b59067f7b67dc4f26190abab59c.zip
fix(update): Correctly treat a success as a success
Diffstat (limited to 'src')
-rw-r--r--src/update/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update/mod.rs b/src/update/mod.rs
index 119c53c..d96e3d1 100644
--- a/src/update/mod.rs
+++ b/src/update/mod.rs
@@ -94,7 +94,7 @@ pub async fn update(
     }
 
     let out = child.wait().await?;
-    if out.success() {
+    if !out.success() {
         error!("The update_raw.py invokation failed for all subscriptions.")
     }