Minor clippy nit
@@ -175,11 +175,9 @@ fn main() {
// If we are an an OpenWRT device try and rescue it from update issues
// TODO remove in Beta 6
- if KI.is_openwrt() {
- if KI.check_cron().is_err() {
+ if KI.is_openwrt() && KI.check_cron().is_err() {
error!("Failed to setup cron!");
}
- }
let args: Args = Docopt::new((*USAGE).as_str())
.and_then(|d| d.deserialize())
