Improve error.

This commit is contained in:
Jeffrey Townsend
2016-04-04 20:16:44 +00:00
parent cfb45b10d7
commit 5e9e0e40e9

View File

@@ -5,6 +5,7 @@
#
############################################################
import os
import sys
import fnmatch
from onl.upgrade import ubase
@@ -147,7 +148,7 @@ if __name__ == '__main__':
elif arch == 'x86_64':
klass = Loader_Upgrade_x86_64
else:
raise Exception("The current architecture (%s) is not supported for upgrade." % arch)
klass().main()
sys.stderr.write("Loader Upgrade: The current architecture (%s) is not supported for upgrade.\n" % arch)
if klass:
klass().main()