diff options
author | Jonathan Barda <jonathan.barda@gmail.com> | 2020-03-06 04:31:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 13:31:10 +1000 |
commit | 6f887ee0a82b1afb90f4e895dff75b13d54ef3c8 (patch) | |
tree | 77efa9c04c3ef178f404058b5c34290c7a4cba51 /packaging | |
parent | fc8ba79a51a980604b787dc479196ff289252902 (diff) |
Removed extra printed `\n` (#8324)
* Removed extra printed `\n`
When running the installation script, a lot of `\n` got printed before the return status `[OK]` or `[ERROR]`.
* Update md5sum of packaging/installer/kickstart.sh in packaging/installer/methods/kickstart.md
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/installer/kickstart.sh | 2 | ||||
-rw-r--r-- | packaging/installer/methods/kickstart.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh index 066eba5802..4953179f09 100755 --- a/packaging/installer/kickstart.sh +++ b/packaging/installer/kickstart.sh @@ -109,7 +109,7 @@ run() { printf >&2 "${info_console}${TPUT_BOLD}${TPUT_YELLOW}" escaped_print >&2 "${@}" - printf >&2 "${TPUT_RESET}\n" + printf >&2 "${TPUT_RESET}" "${@}" diff --git a/packaging/installer/methods/kickstart.md b/packaging/installer/methods/kickstart.md index 4b21225121..e9a57635a4 100644 --- a/packaging/installer/methods/kickstart.md +++ b/packaging/installer/methods/kickstart.md @@ -51,7 +51,7 @@ To use `md5sum` to verify the intregity of the `kickstart.sh` script you will do run the following: ```bash -[ "952da7868b2c6b8819a7c600047400f5" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" +[ "3058dbf398ba0d73d02c7626545610f5" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" ``` If the script is valid, this command will return `OK, VALID`. |