no backticks

This commit is contained in:
kneutron 2021-04-08 13:07:38 -05:00 committed by GitHub
parent c702d883e4
commit 84db3c674b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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