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: [email protected] <[email protected]>
AuthorDate: Sat Feb 25 19:42:40 2023 +0800
ZOOKEEPER-4636: Fix zkServer.sh for AIX
AIX "echo" does not support "-n" argument.
Author: [email protected] <[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, maoling
<[email protected]>
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"
;;