pastsub_replacement

fixes #40 , issue related to Bash 5.2 and '&' as delimitier.
This commit is contained in:
Mario Tomelin
2024-11-21 16:33:58 -03:00
committed by GitHub
parent 25ded3bfe1
commit 277fd8db0f
+3
View File
@@ -1,4 +1,7 @@
#!/bin/bash
# Disable patsub_replacement to avoid issues with '&' in pattern substitutions
shopt -u patsub_replacement
if [ -z "$PLUGIN_HOSTS" ]; then
echo "Specify at least one host!"
exit 1