Merge origin/main into ethie/pm-clean

This commit is contained in:
ethernet
2026-09-23 10:13:26 -04:00
89 changed files with 2719 additions and 296 deletions

View File

@@ -82,10 +82,18 @@ if [ $# -eq 0 ]; then
drop hermes
fi
if command -v "$1" >/dev/null 2>&1; then
# Bare executable — pass through directly.
drop "$@"
fi
# A leading flag is a hermes global option (`-p <profile> gateway run`), never an executable:
# `command -v -p` parses -p as an option to `command` itself and succeeds, so the wrapper exec'd
# "-p" and the container restart-looped.
case "$1" in
-*) ;;
*)
if command -v "$1" >/dev/null 2>&1; then
# Bare executable — pass through directly.
drop "$@"
fi
;;
esac
# Hermes subcommand pass-through.
drop hermes "$@"