mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-16 02:02:58 -07:00
parent
d51ed35a81
commit
6b8b40eb7a
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ trimQuotes() {
|
|||
}
|
||||
|
||||
HASCFG="${@: -1}"
|
||||
if [ ! -z "${HASCFG}" -a ! "${HASCFG:0:1}" = "-" ]; then
|
||||
if [ ! -z "${HASCFG}" -a ! "${HASCFG:0:1}" = "-" -a ! "${@:(-2):1}" = "--config" ]; then
|
||||
if [ -f "${HASCFG}" ]; then
|
||||
echo "WARNING: Specifying config file as last argument is deprecated. Use --config <path> instead."
|
||||
CONFIGFILE=${HASCFG}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue