Match error output string format

This commit is contained in:
Max Zinkus 2018-04-09 21:58:10 -07:00 committed by GitHub
parent 65435dce78
commit 6dd8a5e212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ from qubesadmin import Qubes
def main(): def main():
if os.geteuid() != 0: 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) sys.exit(1)
app = Qubes() app = Qubes()
clockvm = app.clockvm clockvm = app.clockvm