From fd1df63ecdfbaa136fd810809970d8906c9427c1 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Tue, 17 Mar 2020 20:58:01 +0100 Subject: [PATCH] Fix import that broke tests on macOS --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f67560b..6218e71 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,6 @@ use crate::package::{PackageManager, InstallResult, UpdateResult, RemoveResult, use std::sync::atomic::AtomicBool; use crate::package::git::GitPackageResolver; use crate::package::zip::ZipPackageResolver; -use crate::sysdaemon::{verify, VerifyResult}; mod ui; mod edit; @@ -435,6 +434,7 @@ fn start_daemon(config_set: ConfigSet) { #[cfg(target_os = "linux")] fn start_daemon(config_set: ConfigSet) { use std::process::{Command, Stdio}; + use crate::sysdaemon::{verify, VerifyResult}; // Check if Systemd is available in the system let status = Command::new("systemctl")