Skip to content
Snippets Groups Projects
Commit c0ce0992 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp-v2: improve error message when !vmlinux && !autodumpdir"

parents be143950 c3d85180
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,10 @@ if __name__ == '__main__':
sys.exit(1)
if options.vmlinux is None:
if options.autodump is None:
print_out_str("No vmlinux or autodump dir given. I can't proceed!")
parser.print_usage()
sys.exit(1)
autovm = os.path.join(options.autodump, 'vmlinux')
if os.path.isfile(autovm):
options.vmlinux = autovm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment