Commit b48ff75a authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed the issue with long hostnames

parent ee80d7ba
......@@ -62,6 +62,8 @@ beegfs_command="beegfs-ctl --clientstats --names --nodetype=storage --interval=0
data=$(timeout --foreground -k 1 1 $beegfs_command | grep $BGFSHOSTNAME)
debug "Output of BeeGFS: $data"
if [ "$data" == "" ]; then
debug "Output is empty. Exiting"
exit 0;
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