From c0f5f097677cd8d5d369b5535fe341275eaae0b8 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Fri, 26 Feb 2021 11:29:15 -0700 Subject: [PATCH] appmgr: put linux syscall behind flag --- appmgr/src/tor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/appmgr/src/tor.rs b/appmgr/src/tor.rs index 05c64e737..b34d9b188 100644 --- a/appmgr/src/tor.rs +++ b/appmgr/src/tor.rs @@ -480,6 +480,7 @@ pub async fn set_svc( Err(e) } })?; + #[cfg(target_os = "linux")] nix::unistd::sync(); hidden_services.commit().await?; log::info!("Reloading Tor.");