Skip to content

Fix log() calls with unquoted messages #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions observe_configure_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,9 @@ if [ "$fluentbitinstall" == TRUE ]; then
log "$SPACER"
log "fluent-bit status"
if systemctl is-active --quiet fluent-bit; then
log fluent-bit is running
log "fluent-bit is running"
else
log fluent-bit is NOT running
log "fluent-bit is NOT running"
sudo service fluent-bit status
fi
log "$SPACER"
Expand All @@ -1188,9 +1188,9 @@ if [ "$osqueryinstall" == TRUE ]; then
log "osqueryd status"

if systemctl is-active --quiet osqueryd; then
log osqueryd is running
log "osqueryd is running"
else
log osqueryd is NOT running
log "osqueryd is NOT running"
sudo service osqueryd status
fi
log "$SPACER"
Expand All @@ -1208,9 +1208,9 @@ if [ "$telegrafinstall" == TRUE ]; then
log "telegraf status"

if systemctl is-active --quiet telegraf; then
log telegraf is running
log "telegraf is running"
else
log telegraf is NOT running
log "telegraf is NOT running"
sudo service telegraf status
fi
log "$SPACER"
Expand All @@ -1235,4 +1235,4 @@ fi

log "$SPACER"
log "$END_OUTPUT"
log "$SPACER"
log "$SPACER"