mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
[chrony] fix error status and message for 'autoconf'
This commit is contained in:
parent
cfd1612aa5
commit
728b105318
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user