From 728b105318b7850560bc8476406e2fefed93b9ee Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Thu, 10 Nov 2016 23:51:56 +0100 Subject: [PATCH] [chrony] fix error status and message for 'autoconf' --- plugins/time/chrony | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/time/chrony b/plugins/time/chrony index d58b3e05..917e8b3e 100755 --- a/plugins/time/chrony +++ b/plugins/time/chrony @@ -54,11 +54,10 @@ fieldnames="Stratum (=System Time (seconds,x=Frequency (ppm,x=Residual Freq (ppm if [ "$1" = "autoconf" ]; then if [ -n "$CHRONYC" ] && [ -x "$CHRONYC" ]; then echo yes - exit 0 else - echo "no (no $CHRONYC)" - exit 1 + echo "no (missing 'chronyc' executable)" fi + exit 0 fi if [ "$1" = "config" ]; then