Commit 97184bca authored by Martin Vala's avatar Martin Vala
Browse files

Fix typo in bash syntax

parent 14f688c5
Pipeline #655718 skipped with stage
......@@ -430,7 +430,7 @@ function eosDockerFstRegisterDisks() {
[ $NUM_FS -le 1 ] && { ERROR "No directories in $ED_FST_DATA_PREFIX exists !!!"; exit 21; }
NUM_FS=$(($NUM_FS-1))
ED_FST_DATA_PREFIX=${ED_FST_DATA_PREFIX%%+(/)}
if [ "$ED_EOS_FS_GROUP_PER_DISK" = "0"];then
if [ "$ED_EOS_FS_GROUP_PER_DISK" = "0" ];then
DEBUG "Doing '$ED_DOCKER_CMD exec eos-$ED_NODE_TYPE eosfstregister -i $ED_FST_DATA_PREFIX/ default:0'"
$ED_DOCKER_CMD exec eos-$ED_NODE_TYPE eosfstregister -i $ED_FST_DATA_PREFIX/ default:0 > /dev/null 2>&1
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment