Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

CORTX-30751: Codacy code cleanup (#1606) #1898

Merged
merged 3 commits into from
Aug 19, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions spiel/st/spiel_multiple_confd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ _fini() {
if [[ "$(is_lnet_available)" == "true" ]]; then
m0_modules_remove
fi
cd $M0_SRC_DIR/utils/spiel
cd "$M0_SRC_DIR"/utils/spiel
cat $INSTALLED_FILES | xargs rm -rf
rm -rf build/ $INSTALLED_FILES
}
Expand Down Expand Up @@ -156,7 +156,7 @@ confd_mkfs_start() {
-w 3 -f ${!fid}"

echo "--- $(date) ---" >>"$path"/m0d.log
cd $path
cd "$path"

echo "$M0_SRC_DIR"/utils/mkfs/m0mkfs $OPTS
"$M0_SRC_DIR"/utils/mkfs/m0mkfs $OPTS >>"$path"/mkfs.log ||
Expand All @@ -173,11 +173,11 @@ confd_start() {
-m $MAX_RPC_MSG_SIZE -q $TM_MIN_RECV_QUEUE_LEN -c $CONF_FILE\
-w 3 -f ${!fid}"

echo "--- `date` ---" >>$path/m0d.log
cd $path
echo "--- `date` ---" >>"$path"/m0d.log
cd "$path"

echo "$M0_SRC_DIR"/motr/m0d $OPTS
$M0_SRC_DIR/motr/m0d $OPTS >>$path/m0d.log 2>&1 &
"$M0_SRC_DIR"/motr/m0d $OPTS >>"$path"/m0d.log 2>&1 &
local PID=$!
sleep 10
kill -0 $PID 2>/dev/null ||
Expand Down