@cryptotaxi247 / netdata-1 / commits / a567f3235

fix grep warning in kickstart (#18021)

Ilya Mashchenko committed Jun 27, 2024 at 14:26 UTC a567f32357aac08dc63a30d83dc8adf15d56f771
1 file changed +1 -1
packaging/installer/kickstart.sh
+1 -1
@@ -1371,7 +1371,7 @@ set_auto_updates() {
1371 if [ "${DRY_RUN}" -eq 1 ]; then
1372 progress "Would have attempted to enable automatic updates."
1373 # This first case is for catching using a new kickstart script with an old build. It can be safely removed after v1.34.0 is released.
1374 - elif ! run_as_root grep -q '\-\-enable-auto-updates' "${updater}"; then
1374 + elif ! run_as_root grep -q '\--enable-auto-updates' "${updater}"; then
1375 echo
1376 elif ! run_as_root "${updater}" --enable-auto-updates "${NETDATA_AUTO_UPDATE_TYPE}"; then
1377 warning "Failed to enable auto updates. Netdata will still work, but you will need to update manually."