incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject git commit: AMBARI-3145. ambari-agent service script should return non-zero when the agent is not running. Fixed service script as well. (Vitaly Brodetskyi via dlysnichenko)
Date Mon, 16 Sep 2013 13:10:05 GMT
Updated Branches:
  refs/heads/trunk 0dfd27ea0 -> 59998d8cb


AMBARI-3145. ambari-agent service script should return non-zero when the agent is not running.
Fixed service script as well. (Vitaly Brodetskyi via dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/59998d8c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/59998d8c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/59998d8c

Branch: refs/heads/trunk
Commit: 59998d8cb08c48d0878e02dcf6385c1ef2911d5b
Parents: 0dfd27e
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Mon Sep 16 16:07:42 2013 +0300
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Mon Sep 16 16:07:42 2013 +0300

----------------------------------------------------------------------
 ambari-agent/etc/init.d/ambari-agent | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/59998d8c/ambari-agent/etc/init.d/ambari-agent
----------------------------------------------------------------------
diff --git a/ambari-agent/etc/init.d/ambari-agent b/ambari-agent/etc/init.d/ambari-agent
index 7dce5c5..d25d86a 100644
--- a/ambari-agent/etc/init.d/ambari-agent
+++ b/ambari-agent/etc/init.d/ambari-agent
@@ -28,6 +28,7 @@ case "$1" in
         ;;
   status)
         /usr/sbin/ambari-agent $@
+        exit $?
         ;;
   restart)
         $0 stop


Mime
View raw message