diff --git a/qvm-tools/qvm-sync-clock b/qvm-tools/qvm-sync-clock index f2c6ecb3..175f6f9e 100755 --- a/qvm-tools/qvm-sync-clock +++ b/qvm-tools/qvm-sync-clock @@ -32,6 +32,9 @@ def main(): app = Qubes() clockvm = app.clockvm + if not clockvm: + sys.exit(0) + if not clockvm.is_running(): sys.stderr.write('ClockVM {} is not running, aborting.\n'.format( clockvm.name))