From c0245c2a33dd4b59067f7b67dc4f26190abab59c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 22 Aug 2024 14:26:58 +0200 Subject: fix(update): Correctly treat a success as a success --- src/update/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/update') 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.") } -- cgit 1.4.1