client: fix compile-time conditional import

This commit is contained in:
2025-12-23 12:14:23 +09:00
parent ba8ffd0e78
commit 3233c00531

View File

@@ -314,7 +314,7 @@ fn handle_dynamic_completion() -> anyhow::Result<Option<()>> {
if std::env::var_os("COMPLETE").is_some() {
#[cfg(feature = "suid-sgid-mode")]
if executing_in_suid_sgid_mode()? {
use crate::core::bootstrap::drop_privs;
use muscl_lib::core::bootstrap::drop_privs;
drop_privs()?
}