mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 02:32:46 +01:00
Fix typo
This commit is contained in:
@@ -21,7 +21,7 @@ for i in $(/usr/sbin/so-elasticsearch-query _cat/allocation | awk '{print $2}');
|
||||
size=$(echo $i | grep -oE '[0-9].*' | awk '{print int($1+0.5)}')
|
||||
unit=$(echo $i | grep -oE '[A-Za-z]+')
|
||||
if [ $unit = "tb" ]; then
|
||||
size=$(( size * 1000 * 1000 * 1000 * 1000<F12> ))
|
||||
size=$(( size * 1000 * 1000 * 1000 * 1000 ))
|
||||
elif [ $unit = "gb" ]; then
|
||||
size=$(( size * 1000 * 1000 * 1000 ))
|
||||
elif [ $unit = "mb" ]; then
|
||||
|
||||
Reference in New Issue
Block a user