From 4543705ffc5cec619d9c7bf6162a0e24a472feb0 Mon Sep 17 00:00:00 2001 From: Ifaz Kabir Date: Wed, 3 Dec 2025 23:49:22 -0500 Subject: [PATCH] Fix iszfsbusy to not match pool prefix --- syncoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncoid b/syncoid index 680afbe..c40e7a9 100755 --- a/syncoid +++ b/syncoid @@ -1402,7 +1402,7 @@ sub iszfsbusy { close PL; foreach my $process (@processes) { - if ($process =~ /zfs *(receive|recv)[^\/]*\Q$fs\E\Z/) { + if ($process =~ /zfs *(receive|recv)[^\/]*\s\Q$fs\E\Z/) { # there's already a zfs receive process for our target filesystem - return true writelog('DEBUG', "process $process matches target $fs!"); return 1;