Update main.sh

This commit is contained in:
myvesta 2020-07-12 17:52:22 +02:00 committed by GitHub
commit b960f86e2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1040,3 +1040,8 @@ get_web_counter() {
echo $counter
}
escape_shell_quote() {
local escape_shell_quoted=${1//\'/\'\\\'\'};
printf "'%s'" "$escape_shell_quoted"
}