|
|
@ -1287,7 +1287,7 @@ def main():
|
|
|
|
(rc, out, err) = service.modify_service_state()
|
|
|
|
(rc, out, err) = service.modify_service_state()
|
|
|
|
|
|
|
|
|
|
|
|
if rc != 0:
|
|
|
|
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
|
|
|
|
# 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
|
|
|
|
# where status may report it has no start/stop links and we could
|
|
|
|
# not get accurate status
|
|
|
|
# not get accurate status
|
|
|
|