DISCOVERY_DIR if fix

This commit is contained in:
2023-07-10 14:32:06 +00:00
parent 698368be94
commit 5a55963ca6

View File

@@ -84,7 +84,7 @@ discover_services() {
DISCOVERY_DIR="/usr/local/bin/" DISCOVERY_DIR="/usr/local/bin/"
else else
# while not an absolute path # while not an absolute path
while [ ${DISCOVERY_DIR:0:1} != "/" ]; do while [ "${DISCOVERY_DIR:0:1}" != "/" ]; do
echo "The path must be absolute, for example /usr/local/bin/. Please type it again." echo "The path must be absolute, for example /usr/local/bin/. Please type it again."
read -r DISCOVERY_DIR; read -r DISCOVERY_DIR;
done done