mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-15 08:54:09 +01:00
Fix df
This commit is contained in:
1 file changed
+1
-1
@@ -81,7 +81,7 @@ function getinstallinfo() {
|
||||
|
||||
function pcapspace() {
|
||||
if [[ "$OPERATION" == "setup" ]]; then
|
||||
local SPACESIZE=$(df -h /nsm | tail -1 | awk '{print $2}')
|
||||
local SPACESIZE=$(df -k /nsm | tail -1 | awk '{print $2}' | tr -d \n)
|
||||
else
|
||||
|
||||
local NSMSIZE=$(salt '$MINION_ID' disk.usage --out=json | jq -r '.[]."/nsm"."1K-blocks" ')
|
||||
|
||||
Reference in new issue
Block a user