diff --git a/patch.sh b/patch.sh index 41f2361..ea4ca2f 100644 --- a/patch.sh +++ b/patch.sh @@ -87,7 +87,7 @@ if compare_versions "$PILER_VERSION" "$required_version"; then patchNum="pilerPatch001" search_entry="127.0.0.1:9307:" - new_entry="${entry}\tlisten\t\t\t= 127.0.0.1:9307:mysql_readonly" + new_entry="${patchNum}\tlisten\t\t\t= 127.0.0.1:9307:mysql_readonly" if [ -f $file ]; then # Check the manticore.conf to see if the entry "listen = 127.0.0.1:9307:mysql_readonly" is present