From 5c34d185a0a8d53486911ec743ffccee13acd0a4 Mon Sep 17 00:00:00 2001 From: "Adam.Litwin" Date: Thu, 24 Oct 2024 21:18:01 +0200 Subject: [PATCH] Prevent globbing and word splitting in nodetool --- bin/nodetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nodetool b/bin/nodetool index f78b02e344..fa260f2670 100755 --- a/bin/nodetool +++ b/bin/nodetool @@ -59,7 +59,7 @@ JVM_ARGS="" SSL_FILE=$HOME/.cassandra/nodetool-ssl.properties while true do - if [ ! $1 ]; then break; fi + if [ ! "$1" ]; then break; fi case $1 in -p) JMX_PORT=$2