From cc80b058c1d5e8a41c888e8daae036bda5865934 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 19 Sep 2014 12:01:46 -0700 Subject: [PATCH] Be more specific in checking if a job restarted successfully. Fixes: #9056 --- library/system/service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/service b/library/system/service index 61e56ec83db..1effff382c3 100644 --- a/library/system/service +++ b/library/system/service @@ -1287,7 +1287,7 @@ def main(): (rc, out, err) = service.modify_service_state() if rc != 0: - if err and "is already" in err: + if err and "Job is already running" in err: # upstart got confused, one such possibility is MySQL on Ubuntu 12.04 # where status may report it has no start/stop links and we could # not get accurate status