diff options
author | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-28 10:37:35 +0300 |
---|---|---|
committer | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-28 10:37:47 +0300 |
commit | c3f4e766be494aa2cf07ce1c80b6b9e970ded95c (patch) | |
tree | 737beeb8e40afebc43b91df8eebcb1f050d78ce1 /updates | |
parent | fcd2f47270385f8337e9e726a17ed4d711d22ce5 (diff) |
1.47.0.sh: Fix ncp-update if prometheus-node-exporter was not installed before
Diffstat (limited to 'updates')
-rw-r--r-- | updates/1.47.0.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updates/1.47.0.sh b/updates/1.47.0.sh index fe1f79ae..671ebdca 100644 --- a/updates/1.47.0.sh +++ b/updates/1.47.0.sh @@ -8,7 +8,7 @@ source /usr/local/etc/library.sh for svc in prometheus-node-exporter ncp-metrics-exporter do service "$svc" status || [[ $? -ne 4 ]] || continue - service "$svc" stop + service "$svc" stop || [[ $? -ne 4 ]] done # Reinstall metrics services |