You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ma...@apache.org on 2023/02/25 11:42:50 UTC
[zookeeper] branch master updated: ZOOKEEPER-4636: Fix zkServer.sh for AIX
This is an automated email from the ASF dual-hosted git repository.
maoling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new ee8014adc ZOOKEEPER-4636: Fix zkServer.sh for AIX
ee8014adc is described below
commit ee8014adc748901b642e66c5734082d50b077a84
Author: henk.wiedig@t-systems.com <he...@t-systems.com>
AuthorDate: Sat Feb 25 19:42:40 2023 +0800
ZOOKEEPER-4636: Fix zkServer.sh for AIX
AIX "echo" does not support "-n" argument.
Author: henk.wiedig@t-systems.com <he...@t-systems.com>
Reviewers: Enrico Olivelli <eo...@apache.org>, maoling <ma...@apache.org>
Closes #1945 from henkwiedig/fix-aix-zkserver
---
bin/zkServer.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/zkServer.sh b/bin/zkServer.sh
index 977c1bbf8..91d335c00 100755
--- a/bin/zkServer.sh
+++ b/bin/zkServer.sh
@@ -171,6 +171,9 @@ start)
*solaris*)
/bin/echo "${!}\\c" > "$ZOOPIDFILE"
;;
+ aix*)
+ /bin/echo "$!\c" > "$ZOOPIDFILE"
+ ;;
*)
/bin/echo -n $! > "$ZOOPIDFILE"
;;