diff --git a/cmd/arc_summary/arc_summary.py b/cmd/arc_summary/arc_summary.py index 83918a645..f5aac737b 100755 --- a/cmd/arc_summary/arc_summary.py +++ b/cmd/arc_summary/arc_summary.py @@ -987,5 +987,6 @@ def main(): page(Kstat) div2() + if __name__ == '__main__': main() diff --git a/cmd/dbufstat/dbufstat.py b/cmd/dbufstat/dbufstat.py index ceb0160cd..dda0a143f 100755 --- a/cmd/dbufstat/dbufstat.py +++ b/cmd/dbufstat/dbufstat.py @@ -577,5 +577,6 @@ def main(): if tflag: print_dict(types_build_dict(sys.stdin)) + if __name__ == '__main__': main()