Repository: knox Updated Branches: refs/heads/master 4ca54c5a1 -> 3ef4a08d5
KNOX-396 gateway.sh and ldap.sh status commands incorrect Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/3ef4a08d Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/3ef4a08d Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/3ef4a08d Branch: refs/heads/master Commit: 3ef4a08d522a6fcacaedbfdd1a17e19a2e115089 Parents: 4ca54c5 Author: Larry McCay <[email protected]> Authored: Thu Jun 19 19:43:10 2014 -0400 Committer: Larry McCay <[email protected]> Committed: Thu Jun 19 19:43:10 2014 -0400 ---------------------------------------------------------------------- gateway-release/home/bin/gateway.sh | 2 +- gateway-release/home/bin/ldap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/3ef4a08d/gateway-release/home/bin/gateway.sh ---------------------------------------------------------------------- diff --git a/gateway-release/home/bin/gateway.sh b/gateway-release/home/bin/gateway.sh index 10e2985..769a269 100755 --- a/gateway-release/home/bin/gateway.sh +++ b/gateway-release/home/bin/gateway.sh @@ -221,7 +221,7 @@ function getPID { APP_PID="$(<$APP_PID_FILE)" - if [ ! $APP_PD > /dev/null ]; + if [ ! $APP_PID > /dev/null ]; then return 1 fi http://git-wip-us.apache.org/repos/asf/knox/blob/3ef4a08d/gateway-release/home/bin/ldap.sh ---------------------------------------------------------------------- diff --git a/gateway-release/home/bin/ldap.sh b/gateway-release/home/bin/ldap.sh index 1f33555..78b6dfc 100755 --- a/gateway-release/home/bin/ldap.sh +++ b/gateway-release/home/bin/ldap.sh @@ -209,7 +209,7 @@ function getPID { APP_PID="$(<$APP_PID_FILE)" - if [ ! $APP_PD > /dev/null ]; + if [ ! $APP_PID > /dev/null ]; then return 1 fi
