diff --git a/plugins/chrony/chrony b/plugins/chrony/chrony index 40e2c0e6..c65ba9fa 100755 --- a/plugins/chrony/chrony +++ b/plugins/chrony/chrony @@ -111,7 +111,7 @@ if [ "$1" = "config" ]; then exit 0 fi -chrony_status="$("$CHRONYC" tracking)" +chrony_status="$("$CHRONYC" -n tracking)" echo "$fields" | while read fieldname factor regex label; do status_line="$(echo "$chrony_status" | grep -i -- "$regex " | cut -d ":" -f 2-)" if [ -z "$status_line" ]; then