Merge pull request #2 from sts23/patch-2

Update sts23.sh
This commit is contained in:
cpzengel 2020-12-11 18:32:58 +01:00 committed by GitHub
commit 13402961d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ do
fi fi
else else
echo "# Test - folgende zfs destroys würden ausgführt" echo "# Test - folgende zfs destroys würden ausgführt"
echo "$SNAPS" | head -n $DELSNAPS | xargs -n 1 zfs get creation -H echo "$SNAPS" | head -n $DELSNAPS | xargs -n 1 zfs get -H creation
echo "$SNAPS" | head -n $DELSNAPS | xargs -n 1 echo ">>" zfs destroy -v echo "$SNAPS" | head -n $DELSNAPS | xargs -n 1 echo ">>" zfs destroy -v
fi fi
fi fi