#!/usr/bin/python3
"""PAM guard: zero only when the lid is open and the computer is undocked."""
import sys
from local_auth import allowed
sys.exit(0 if allowed() else 1)
