diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 14:26:58 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 14:26:58 +0200 |
commit | c0245c2a33dd4b59067f7b67dc4f26190abab59c (patch) | |
tree | 442e4f18b489cf6844cd5ce3b8255393772fb2ee /src/update/mod.rs | |
parent | fix(subscriptions/add): Ignore the trailing slash on URLs (diff) | |
download | yt-c0245c2a33dd4b59067f7b67dc4f26190abab59c.tar.gz yt-c0245c2a33dd4b59067f7b67dc4f26190abab59c.zip |
fix(update): Correctly treat a success as a success
Diffstat (limited to 'src/update/mod.rs')
-rw-r--r-- | src/update/mod.rs | 2 |
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.") } |