#!/bin/bash
# 通过 host-spawn 在主机上执行 sudo（systemd-run 的 stdin/stdout 会透传）
if [ "$(id -u)" = "0" ]; then
    exec "$@"
fi
exec host-spawn sudo "$@"
