Skip to content
Snippets Groups Projects
Commit adca33d3 authored by felmer's avatar felmer
Browse files

SSDM-4736: env variable CMD put in quotes for datastore_server.sh

SVN: 37745
parent 21a091b7
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ case "$command" in ...@@ -178,7 +178,7 @@ case "$command" in
echo -n "Starting Data Store Server " echo -n "Starting Data Store Server "
rotateLogFiles $LOGFILE $MAXLOGS rotateLogFiles $LOGFILE $MAXLOGS
shift 1 shift 1
${CMD} "$@" > $STARTUPLOG 2>&1 & echo $! > $PIDFILE "$(CMD)" "$@" > $STARTUPLOG 2>&1 & echo $! > $PIDFILE
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
# wait for initial self-test to finish # wait for initial self-test to finish
n=0 n=0
...@@ -282,16 +282,16 @@ case "$command" in ...@@ -282,16 +282,16 @@ case "$command" in
;; ;;
version) version)
${CMD} --version "$(CMD)" --version
;; ;;
show-shredder) show-shredder)
${CMD} --show-shredder "$(CMD)" --show-shredder
;; ;;
show-updater-queue) show-updater-queue)
${CMD} --show-updater-queue "$(CMD)" --show-updater-queue
;; ;;
show-command-queue) show-command-queue)
${CMD} --show-command-queue "$(CMD)" --show-command-queue
;; ;;
verify-archives) verify-archives)
shift shift
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment