#!/usr/bin/env sh
# BastionGuard™ Recovery Data privileged launcher.
# Installed layout: /usr/bin/bastionguard-recovery-data-pkexec launches
# /usr/bin/bastionguard-recovery-data through PolicyKit.

BINARY="/usr/bin/bastionguard-recovery-data"

if [ ! -x "$BINARY" ]; then
    echo "BastionGuard executable not found at $BINARY." >&2
    exit 127
fi

exec pkexec "$BINARY" "$@"
