blob: 1a657c389e49fc3c0e814c924d8210053ee2c83b [file] [log] [blame]
#!/usr/bin/env python3
#
# Copyright (c) 2021, Linaro Limited
#
# SPDX-License-Identifier: BSD-3-Clause
#
import sys
found = False
with open(sys.argv[1]) as f:
for l in f:
if "Booting Secure Partition" in l:
found = True
if found:
sys.exit(0)
else:
sys.exit(1)