Commit 6a96dab7 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed a bug

parent 309ca8ab
......@@ -58,8 +58,8 @@ while IFS== read -r key value; do
done < "$BGFSLOGFILE"
CURTS=$(date +%s)
beegfs_command="timeout -k 1 1 beegfs-ctl --clientstats --names --nodetype=storage --interval=0 --filter=$BGFSHOSTNAME"
data=$( $beegfs_command | grep $BGFSHOSTNAME)
beegfs_command="beegfs-ctl --clientstats --names --nodetype=storage --interval=0 --filter=$BGFSHOSTNAME"
data=$(timeout --foreground -k 1 1 $beegfs_command | grep $BGFSHOSTNAME)
debug "Output of BeeGFS: $data"
if [ "$data" == "" ]; then
......
Supports Markdown
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