diff options
Diffstat (limited to 'src/watch/detect.rs')
| -rw-r--r-- | src/watch/detect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch/detect.rs b/src/watch/detect.rs index 800c157..d155913 100644 --- a/src/watch/detect.rs +++ b/src/watch/detect.rs @@ -31,7 +31,7 @@ pub struct CheckReport { pub fn check_pkgbase(cfg: &Config, db: &Db, name: &str) -> Result<CheckReport> { let pb = get_pkgbase(db, name)? .ok_or_else(|| crate::error::Error::not_found(format!("pkgbase {name}")))?; - let sub = db::get_subscription(db, name)?;; + let sub = db::get_subscription(db, name)?; let paused = sub.as_ref().map(|s| s.state == SubscriptionState::Paused).unwrap_or(false); if paused { return Ok(CheckReport { pkgbase: name.into(), head: String::new(), outcome: Outcome::Paused }); |
