aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/install
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-10 18:44:24 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-10 18:44:24 +0300
commit75bbc4439fba7be0e72ab4c17e4aca62d03fc9c6 (patch)
treec1bb59efe05527c20f546457d8c3266ae5d69c4d /gitstatus/install
parentb305649e5388924cd83bd11f8659966c8807e1c2 (diff)
parentbc85e46f8b8a548379144732a3218bfe686f2f63 (diff)
Merge commit 'bc85e46f8b8a548379144732a3218bfe686f2f63'
Diffstat (limited to 'gitstatus/install')
-rwxr-xr-xgitstatus/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitstatus/install b/gitstatus/install
index 464ab821..f747015c 100755
--- a/gitstatus/install
+++ b/gitstatus/install
@@ -209,13 +209,13 @@ END
if command -v curl >/dev/null 2>&1; then
if ! err="$(command curl -fsSLo "$archive" -- "$url" 2>&1)"; then
>&2 echo "[gitstatus] error: failed to download gitstatusd: $url"
- >&2 printf "%s" "$err"
+ >&2 printf "%s\n" "$err"
return 1
fi
elif command -v wget >/dev/null 2>&1; then
if ! err="$(command wget -O "$archive" -- "$url" 2>&1)"; then
>&2 echo "[gitstatus] error: failed to download gitstatusd: $url"
- >&2 printf "%s" "$err"
+ >&2 printf "%s\n" "$err"
return 1
fi
else