Commit 2386cb66 authored by Boxiang Sun's avatar Boxiang Sun

fixup

parent a9811f43
...@@ -1293,10 +1293,10 @@ stderr_logfile_backups=1 ...@@ -1293,10 +1293,10 @@ stderr_logfile_backups=1
self._checkPromiseList(local_partition) self._checkPromiseList(local_partition)
computer_partition.started() computer_partition.started()
bad_service_list = local_partition.checkOnWatchServiceStatus() bad_service_list = local_partition.checkOnWatchServiceStatus()
if len(bad_service_list) > 0:
raise ChildProcessError("The folling on-watch process is not running!")
for service in bad_service_list: for service in bad_service_list:
self.logger.info('On watch service %r is not running' % service) self.logger.info('On watch service %r is not running' % service)
if len(bad_service_list) > 0:
raise ChildProcessError("No RUNNING on-watch process founded.")
self._endInstallationTransaction(computer_partition) self._endInstallationTransaction(computer_partition)
elif computer_partition_state == COMPUTER_PARTITION_STOPPED_STATE: elif computer_partition_state == COMPUTER_PARTITION_STOPPED_STATE:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment