From fd6a1897c89acfc31f69f2e4046876736888c24d Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 1 Mar 2021 13:55:16 -0700 Subject: [PATCH] appmgr: fix portable --- appmgr/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appmgr/src/main.rs b/appmgr/src/main.rs index 68125a719..964244114 100644 --- a/appmgr/src/main.rs +++ b/appmgr/src/main.rs @@ -163,12 +163,13 @@ async fn inner_main() -> Result<(), Error> { ); #[cfg(feature = "avahi")] - let app = app.subcommand( + #[allow(unused_mut)] + let mut app = app.subcommand( SubCommand::with_name("lan") .about("Configures LAN services") .subcommand( SubCommand::with_name("enable") - .about("Publishes the LAN addresses for all services") + .about("Publishes the LAN addresses for all services"), ), );