Merge pull request #11351 from Security-Onion-Solutions/jertel/auto

ignore debian apt update output
This commit is contained in:
Jason Ertel
2023-09-19 09:26:31 -04:00
committed by GitHub

View File

@@ -53,6 +53,7 @@ log_has_errors() {
grep -vE "Failed to restart snapd" | \ grep -vE "Failed to restart snapd" | \
grep -vE "Login Failed Details" | \ grep -vE "Login Failed Details" | \
grep -vE "response from daemon: unauthorized" | \ grep -vE "response from daemon: unauthorized" | \
grep -vE "Reading first line of patchfile" | \
grep -vE "Running scope as unit" &> "$error_log" grep -vE "Running scope as unit" &> "$error_log"
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then