From 4679d8d6e561dfc579293f1a80695fbf4f21b381 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 25 Nov 2012 00:23:29 +0100 Subject: [PATCH] Remove references to non-existant variable rc --- library/service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/service b/library/service index e677cc1d70..f52a949bb8 100644 --- a/library/service +++ b/library/service @@ -330,11 +330,11 @@ class LinuxService(Service): rc1, stdout1, stderr1 = self.execute_command("%s %s %s" % (svc_cmd, 'stop', self.arguments)) rc2, stdout2, stderr2 = self.execute_command("%s %s %s" % (svc_cmd, 'start', self.arguments)) if rc1 != 0 and rc2 == 0: - rc_state = rc + rc2 + rc_state = rc2 stdout = stdout2 stderr = stderr2 else: - rc_state = rc + rc1 + rc2 + rc_state = rc1 + rc2 stdout = stdout1 + stdout2 stderr = stderr1 + stderr2