From 84db3c674b57bd31ca18eb32007a6bf2d8443245 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Thu, 8 Apr 2021 13:07:38 -0500 Subject: [PATCH] no backticks --- OSX/zfs-fix-shares-osx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSX/zfs-fix-shares-osx.sh b/OSX/zfs-fix-shares-osx.sh index a1f15a7..3ff2a8a 100644 --- a/OSX/zfs-fix-shares-osx.sh +++ b/OSX/zfs-fix-shares-osx.sh @@ -1,7 +1,7 @@ #!/bin/bash function fixman () { -for share in `zfs-show-my-shares--osx.sh |grep 'sharesmb on' |awk '{print $1}'`; do +for share in $(zfs-show-my-shares--osx.sh |grep 'sharesmb on' |awk '{print $1}'); do echo "Fixing $share" zfs set sharesmb=on $share done