mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
suppress soup update output for cleaner console
This commit is contained in:
@@ -229,7 +229,7 @@ check_local_mods() {
|
|||||||
# {% endraw %}
|
# {% endraw %}
|
||||||
|
|
||||||
check_pillar_items() {
|
check_pillar_items() {
|
||||||
local pillar_output=$(salt-call pillar.items --out=json)
|
local pillar_output=$(salt-call pillar.items -lerror --out=json)
|
||||||
|
|
||||||
cond=$(jq '.local | has("_errors")' <<< "$pillar_output")
|
cond=$(jq '.local | has("_errors")' <<< "$pillar_output")
|
||||||
if [[ "$cond" == "true" ]]; then
|
if [[ "$cond" == "true" ]]; then
|
||||||
@@ -892,7 +892,7 @@ main() {
|
|||||||
echo ""
|
echo ""
|
||||||
require_manager
|
require_manager
|
||||||
|
|
||||||
check_pillar_items > /dev/null
|
check_pillar_items
|
||||||
|
|
||||||
echo "Checking to see if this is an airgap install."
|
echo "Checking to see if this is an airgap install."
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user