diff options
Diffstat (limited to 'scripts/show_delta')
-rwxr-xr-x | scripts/show_delta | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/show_delta b/scripts/show_delta index 264399307c4f..291ad65e3089 100755 --- a/scripts/show_delta +++ b/scripts/show_delta @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # SPDX-License-Identifier: GPL-2.0-only # # show_deltas: Read list of printk messages instrumented with @@ -125,4 +125,5 @@ def main(): for line in lines: print (convert_line(line, base_time),) -main() +if __name__ == "__main__": + main() |