Drop `if __name__ == "__main__"` from ./bin/kconfig-hardened-check
authorAlexander Popov <alex.popov@linux.com>
Mon, 14 Aug 2023 15:39:18 +0000 (18:39 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 14 Aug 2023 15:39:18 +0000 (18:39 +0300)
It always runs as a main program.

bin/kconfig-hardened-check

index beab71d9726711dc188c8e199fb17eb98a68e8f4..aad06b48d10ab712d710fbdd1e4e0ff8e5d45737 100755 (executable)
@@ -12,5 +12,4 @@ sys.path.insert(0, parent_dir)
 
 import kconfig_hardened_check
 
-if __name__ == "__main__":
-    kconfig_hardened_check.main()
+kconfig_hardened_check.main()