summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2022-12-16 15:14:35 +0100
committerAlejandro Colomar <alx@nginx.com>2022-12-16 20:42:39 +0100
commit9c94cfccd58bbd78e5eac9d861dceb7c5fa9a6b7 (patch)
tree7d11dea8460c71130e67cd382d2f8f8f3cf92f28 /tools
parent99a7fa783917fac7fa38aa619d8e02b61dd1d816 (diff)
downloadunit-9c94cfccd58bbd78e5eac9d861dceb7c5fa9a6b7.tar.gz
unit-9c94cfccd58bbd78e5eac9d861dceb7c5fa9a6b7.tar.bz2
Tools: Fixed bug in help message.
'sudo' was misplaced. Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/setup-unit2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setup-unit b/tools/setup-unit
index 52ed6ede..f96bd499 100755
--- a/tools/setup-unit
+++ b/tools/setup-unit
@@ -14,7 +14,7 @@ Your version of bash(1) isn't supported by this script. You're probably
running on macOS. We recommend that you either install a newer version
of bash(1) or run this script with another shell, such as zsh(1):
- $ zsh ${SUDO_USER:+sudo }$0 ...
+ $ ${SUDO_USER:+sudo }zsh $0 ...
__EOF__
exit 1;
fi;