summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-14 04:55:34 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-14 11:59:26 +0000
commitb303cb062ebe920d717b65b07f5f254c074b264a (patch)
tree889d1e567bd2e340597f7b156db3257ac781e4cf
parentAdding quotes arround some variables in dehydrated-tools to prevent globbing ... (diff)
downloadservice-tools-b303cb062ebe920d717b65b07f5f254c074b264a.tar.xz
service-tools-b303cb062ebe920d717b65b07f5f254c074b264a.zip
Adding quotes arround some variables in dnsdist-tools to prevent globbing and word splitting.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xdnsdist/bin/dnsdist-console4
1 files changed, 2 insertions, 2 deletions
diff --git a/dnsdist/bin/dnsdist-console b/dnsdist/bin/dnsdist-console
index 8667533..8fcd3b0 100755
--- a/dnsdist/bin/dnsdist-console
+++ b/dnsdist/bin/dnsdist-console
@@ -21,7 +21,7 @@
set -e
-PROGRAM="$(basename ${0})"
+PROGRAM="$(basename "${0}")"
Usage ()
{
@@ -57,4 +57,4 @@ then
Usage
fi
-dnsdist ${OPTIONS}
+dnsdist "${OPTIONS}"