summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com.gluster.storage.management.server.scripts/src/get_server_status.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com.gluster.storage.management.server.scripts/src/get_server_status.py b/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
index 99432a72..a57428b6 100755
--- a/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
+++ b/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
@@ -12,12 +12,10 @@ def main():
sys.stderr.write("usage: %s\n" % os.path.basename(sys.argv[0]))
sys.exit(-1)
- responseDom = ResponseXml()
if Utils.runCommand("pidof glusterd") == 0:
print "ONLINE"
else:
print "OFFLINE"
- print responseDom.toxml()
sys.exit(0)
if __name__ == "__main__":