summaryrefslogtreecommitdiffstats
path: root/packaging/installer/netdata-updater.sh
diff options
context:
space:
mode:
authorPaul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com>2019-04-03 15:00:53 +0200
committerGitHub <noreply@github.com>2019-04-03 15:00:53 +0200
commit6fe8c7d0e808449196d76eb93ebe80a11eec9ade (patch)
tree1a7d42be740cc8808f029fbfcf780f81365f0cad /packaging/installer/netdata-updater.sh
parent44be4c71b8d78dc3afa56cdd93b7178ddf5955c6 (diff)
netdata/packaging: Fix non compatible function declaration (#5789)
1)remove function keyword 2)update README.md
Diffstat (limited to 'packaging/installer/netdata-updater.sh')
-rw-r--r--packaging/installer/netdata-updater.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh
index 9857d3128d..56c8379530 100644
--- a/packaging/installer/netdata-updater.sh
+++ b/packaging/installer/netdata-updater.sh
@@ -20,7 +20,7 @@ error() {
echo >&3 "$(date) : ERROR: " "${@}"
}
-function safe_sha256sum() {
+safe_sha256sum() {
# Within the contexct of the installer, we only use -c option that is common between the two commands
# We will have to reconsider if we start non-common options
if command -v sha256sum >/dev/null 2>&1; then