Skip to content

Commit

Permalink
[chores] Minor whitespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 28, 2024
1 parent 3fbb292 commit 774c67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwisp-monitoring/files/monitoring.agent
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ send_data() {
# If we get a HTTP 404 response, it could mean that the device has been deleted from OpenWISP
# Controller. We check if openwisp-config agent is running to determine if the device has been
# deleted. If openwisp-config agent is not running, the monitoring agent will also exit.
if ! pgrep -x "openwisp_config" >/dev/null; then
if ! pgrep -x "openwisp-config" >/dev/null; then
logger -s "Giving up and shutting down: the device may have been deleted from OpenWISP Controller" \
-t openwisp-monitoring \
-p daemon.err
Expand Down

0 comments on commit 774c67d

Please sign in to comment.