@cryptotaxi247 / netdata-1 / commits / 95602418c

Fixed incorrect condition in updater type detection. (#10028)

Credit goes to @marcingarski for spotting this.

Austin S. Hemmelgarn committed Oct 6, 2020 at 07:41 UTC 95602418c2e066bfff72c73eb8346b84bf100550
1 file changed +1 -1
packaging/installer/functions.sh
+1 -1
@@ -981,7 +981,7 @@ cleanup_old_netdata_updater() {
981 enable_netdata_updater() {
982 local updater_type
983
984 - if [ -z "${1}" ] ; then
984 + if [ -n "${1}" ] ; then
985 updater_type="${1}"
986 else
987 updater_type="$(_get_scheduler_type)"