From 6c09e764c2028e66eb8bc8081f951982632f05ef Mon Sep 17 00:00:00 2001 From: CEbbinghaus Date: Fri, 27 Sep 2024 02:09:32 +1000 Subject: [PATCH] Fixed moved value --- backend/src/watch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/watch.rs b/backend/src/watch.rs index d5795ca..18af9c9 100644 --- a/backend/src/watch.rs +++ b/backend/src/watch.rs @@ -122,7 +122,7 @@ fn find_mount_name() -> Result, Error> { info!(mount = mount_name, "Found MicroSD Card mount label"); - if !has_libraryfolder(&Some(mount_name)) { + if !has_libraryfolder(&Some(mount_name.clone())) { warn!( mount = mount_name, "Mount point does not resolve library folder"