appmgr: put linux syscall behind flag

This commit is contained in:
Aiden McClelland
2021-02-26 11:29:15 -07:00
committed by Aiden McClelland
parent 1c8889a60c
commit c0f5f09767

View File

@@ -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.");