From ff1ff120ecfcd30e86772b43a9f85dd893827fb7 Mon Sep 17 00:00:00 2001 From: "Alan J. Pippin" Date: Thu, 13 Mar 2014 07:53:48 -0600 Subject: [PATCH] Tweaked comment in last commit --- zfs-scrub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs-scrub b/zfs-scrub index 8409876..fbeadb7 100755 --- a/zfs-scrub +++ b/zfs-scrub @@ -90,7 +90,7 @@ do # Export the local pool if told to do so if [[ $import_export_backup_pool == 1 ]] && [[ "$i" =~ "$backup_pool" ]]; then - # Don't export if there is a currently running zfs-replicate operation + # Don't export the pool if there is a currently running zfs-replicate operation ps -ef | grep -q "zfs-replicate" | grep -v grep if [ $? != 0 ]; then zpool export $i -- 2.34.1