From ee1f8a0e4f4b0bbb2fac9c883e9b0c215f6d629d Mon Sep 17 00:00:00 2001
From: Matthew McGill <mhollismcgill@gmail.com>
Date: Mon, 22 Oct 2018 17:54:52 +0000
Subject: [PATCH] thanos integration

Former-commit-id: 15786baf6133e01399ad14d9e985acfa3958dd43
---
 tools/thanos/thanos.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tools/thanos/thanos.cpp b/tools/thanos/thanos.cpp
index 24e81d84c..0a22377e3 100644
--- a/tools/thanos/thanos.cpp
+++ b/tools/thanos/thanos.cpp
@@ -205,11 +205,10 @@ int main(int argc, char *argv[])
                         return -1;
                 }
             }
-            else if(strcmp(buf, "TERMINATE") == 0)
+	    else if(strcmp(buf, "TERMINATE") == 0)
             {
-                // do thanos stuff
-                break;
-            }
+                    break;
+            } 
             else
             {
                 ssize_t write_res = write(out_pipe_fd, (void*) "ERR_INVALID_CMD\n", 16);
-- 
GitLab