show timeshift

This commit is contained in:
Jonathan Baecker 2019-08-16 16:00:59 +02:00
parent cb7cface2f
commit d6644be1ef

View File

@ -325,7 +325,9 @@ def check_sync(begin, encoder):
mailer.error( mailer.error(
'Sync tolerance value exceeded with {} seconds,\n' 'Sync tolerance value exceeded with {} seconds,\n'
'program terminated!'.format(time_distance)) 'program terminated!'.format(time_distance))
logger.error('Sync tolerance value exceeded, program terminated!') logger.error(
'Sync tolerance value exceeded with {}, program terminated!'
).format(time_distance)
encoder.terminate() encoder.terminate()
sys.exit(1) sys.exit(1)