dom0: minor qvm-sync-clock fix
Catch any error in vm.run, to not break clock syncing of all VMs because one VM.
This commit is contained in:
parent
92844a161a
commit
06d99b77df
@ -91,7 +91,8 @@ def main():
|
||||
print >> sys.stderr, '--> Syncing \'%s\' clock.' % vm.name
|
||||
try:
|
||||
vm.run('root:date -u -s "%s"' % date_out, verbose=verbose)
|
||||
except NotImplementedError:
|
||||
except Exception as e:
|
||||
print >> sys.stderr, "ERROR syncing time in VM '%s': %s" % (vm.name, str(e))
|
||||
pass
|
||||
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user