From ede7869a22b8675c8238c419541bac3d721e1508 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 10 Dec 2016 11:59:32 -0600 Subject: [PATCH] Fix bug when restarting tempmon client --- tailbone/views/tempmon/clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/tempmon/clients.py b/tailbone/views/tempmon/clients.py index 1383f28b..620bbdd8 100644 --- a/tailbone/views/tempmon/clients.py +++ b/tailbone/views/tempmon/clients.py @@ -112,7 +112,7 @@ class TempmonClientView(MasterView): client = self.get_instance() if self.restartable_client(client): try: - subprocess.check_output(get_restart_cmd(client), + subprocess.check_output(self.get_restart_cmd(client), stderr=subprocess.STDOUT) except subprocess.CalledProcessError as error: self.request.session.flash("Failed to restart client: {}".format(error.output), 'error')