]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/tools/systemd/unit.rs
update to proxmox-sys 0.2 crate
[proxmox-backup.git] / src / tools / systemd / unit.rs
index b31f2c3f2ba780f33f689002a139438eae76130f..f27ff6b1dc1c8522cee550ff993d79004bd1193a 100644 (file)
@@ -97,7 +97,7 @@ pub fn reload_unit(unit: &str) -> Result<(), Error> {
 fn test_escape_unit() -> Result<(), Error> {
     fn test_escape(i: &str, expected: &str, is_path: bool) {
 
-        use proxmox::tools::systemd::{escape_unit, unescape_unit};
+        use proxmox_sys::systemd::{escape_unit, unescape_unit};
 
         let escaped = escape_unit(i, is_path);
         assert_eq!(escaped, expected);