diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4d7d91fc..d9d56ce0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -513,7 +513,7 @@ UPDATE_DYNDNS(){ printf "%-${width}s- %s\n" " -t|-test" "(tests but does not update records)" echo "}" exit 0;; - *) LOCATION=${1};; + *) [ "${1}" != "q" ] && LOCATION=${1};; esac shift done