master
Avril 4 years ago
parent 1e1019a3de
commit 8434cf0425
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -67,7 +67,7 @@ async fn work<P: AsRef<Path>>(apath: P, sem: Option<Arc<Semaphore>>) -> Result<(
use std::os::unix::fs::MetadataExt; use std::os::unix::fs::MetadataExt;
let nlink = meta.nlink(); let nlink = meta.nlink();
trace!("<{:?}> Links: {}", path, nlink); debug!("<{:?}> Links: {}", path, nlink);
if nlink > 1 { if nlink > 1 {
//todo work i guess fuck it //todo work i guess fuck it
unlink(path).await?; unlink(path).await?;

Loading…
Cancel
Save