quick_dump: say something when reg init fails

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky 2013-02-21 22:05:32 -08:00 committed by Jesse Barnes
parent 0b7da0afb1
commit ec107b0194

View File

@ -26,6 +26,7 @@ parser.add_argument('profile', nargs='?', type=argparse.FileType('r'), default=N
args = parser.parse_args()
if reg.init() == False:
print("Register initialization failed")
sys.exit()
# Put us where the script is