diff --git a/src/api/admin.rs b/src/api/admin.rs index 23925b37214ebb51dd254933b01999a4b483b08e..b127c46fea07a79d78157b04593fd4bca6a9bb25 100644 --- a/src/api/admin.rs +++ b/src/api/admin.rs @@ -37,11 +37,7 @@ pub fn routes() -> Vec<Route> { } lazy_static! { - static ref CAN_BACKUP: bool = cfg!(feature = "sqlite") && - ( - Command::new("sqlite").arg("-version").status().is_ok() || - Command::new("sqlite3").arg("-version").status().is_ok() - ); + static ref CAN_BACKUP: bool = cfg!(feature = "sqlite") && Command::new("sqlite3").arg("-version").status().is_ok(); } #[get("/")]