Pārlūkot izejas kodu

Match error output string format

Max Zinkus 6 gadi atpakaļ
vecāks
revīzija
6dd8a5e212
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      qvm-tools/qvm-sync-clock

+ 1 - 1
qvm-tools/qvm-sync-clock

@@ -27,7 +27,7 @@ from qubesadmin import Qubes
 
 def main():
     if os.geteuid() != 0:
-        sys.stderr.write('This program must be run as root to set the date.')
+        sys.stderr.write('This program must be run as root to set the date, aborting!\n')
         sys.exit(1)
     app = Qubes()
     clockvm = app.clockvm