From b87a66a4de6edeeb65aa3ae0acaac87c8aed49dc Mon Sep 17 00:00:00 2001 From: zohebkhann <89624145+zohebkhann@users.noreply.github.com> Date: Tue, 16 Aug 2022 18:33:15 +0530 Subject: [PATCH] CORTX-30751: Codacy code cleanup (#1606) (#2068) This patch fixes some of the codacy warnings. warning fixed : "Double quote to prevent globing and words splitting". Signed-off-by: Zoheb Khan --- motr/st/utils/sns_repair_motr_shutdown.sh | 2 +- motr/st/utils/spiel_sns_motr_repair.sh | 2 +- motr/st/utils/spiel_sns_motr_repair_quiesce.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/motr/st/utils/sns_repair_motr_shutdown.sh b/motr/st/utils/sns_repair_motr_shutdown.sh index 0b3e60993bf..2c9edc5f774 100755 --- a/motr/st/utils/sns_repair_motr_shutdown.sh +++ b/motr/st/utils/sns_repair_motr_shutdown.sh @@ -73,7 +73,7 @@ main() NODE_UUID=$(uuidgen) local multiple_pools=0 - motr_service start $multiple_pools $stride $N $K $S $P || { + motr_service start $multiple_pools "$stride" "$N" "$K" "$S" "$P" || { echo "Failed to start Motr Service." return 1 } diff --git a/motr/st/utils/spiel_sns_motr_repair.sh b/motr/st/utils/spiel_sns_motr_repair.sh index 3ad8065f4a4..6cebc4abe0c 100755 --- a/motr/st/utils/spiel_sns_motr_repair.sh +++ b/motr/st/utils/spiel_sns_motr_repair.sh @@ -233,7 +233,7 @@ main() NODE_UUID=$(uuidgen) local multiple_pools=0 - motr_service start $multiple_pools $stride $N $K $S $P || { + motr_service start $multiple_pools "$stride" "$N" "$K" "$S" "$P" || { echo "Failed to start Motr Service." return 1 } diff --git a/motr/st/utils/spiel_sns_motr_repair_quiesce.sh b/motr/st/utils/spiel_sns_motr_repair_quiesce.sh index 36dbf086633..3873277b1f5 100755 --- a/motr/st/utils/spiel_sns_motr_repair_quiesce.sh +++ b/motr/st/utils/spiel_sns_motr_repair_quiesce.sh @@ -122,7 +122,7 @@ main() NODE_UUID=$(uuidgen) local multiple_pools=0 - motr_service start $multiple_pools $stride $N $K $S $P || { + motr_service start $multiple_pools "$stride" "$N" "$K" "$S" "$P" || { echo "Failed to start Motr Service." return 1 }