Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-28 10:37:35 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-28 10:37:47 +0300
commitc3f4e766be494aa2cf07ce1c80b6b9e970ded95c (patch)
tree737beeb8e40afebc43b91df8eebcb1f050d78ce1 /updates
parentfcd2f47270385f8337e9e726a17ed4d711d22ce5 (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.sh2
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