From 0695a5ff8208ef02829b41a6bb02aea69b342d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 15 Apr 2014 04:14:10 +0200 Subject: [PATCH] qvm-sync-clock: don't show unverified output to the terminal --- qvm-tools/qvm-sync-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qvm-sync-clock b/qvm-tools/qvm-sync-clock index 65874af2..df2eddc2 100755 --- a/qvm-tools/qvm-sync-clock +++ b/qvm-tools/qvm-sync-clock @@ -76,7 +76,7 @@ def main(): date_out = p.stdout.read(100) date_out = date_out.strip() if not re.match(r'^[A-Za-z]+[,] [0-9][0-9] [A-Za-z]+ [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [+]0000$', date_out): - print >> sys.stderr, date_out, 'Invalid date output, aborting!' + print >> sys.stderr, 'Invalid date output, aborting!' sys.exit(1) # Sync dom0 time