Strip any trailing slashes from webroot input
This commit is contained in:
parent
0802b00a59
commit
d8ed05ae08
@ -193,7 +193,7 @@ while getopts ':l:n:v5:w:' PARAMS; do
|
|||||||
;;
|
;;
|
||||||
w)
|
w)
|
||||||
# path to webserver webroot to copy 503 error page
|
# path to webserver webroot to copy 503 error page
|
||||||
webroot="${OPTARG}"
|
webroot="${OPTARG%/}"
|
||||||
;;
|
;;
|
||||||
?)
|
?)
|
||||||
# unrecognized parameters trigger scriptHelp
|
# unrecognized parameters trigger scriptHelp
|
||||||
|
Loading…
Reference in New Issue
Block a user