summaryrefslogtreecommitdiffstats
path: root/bin/_cac_exec
blob: c932454e27719a3bdb43aa67fb9a2a5979ede6b2 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
set -euf

if test -z "${cac_via-}"; then
  exec "$@"
else
  exec ssh -q "$cac_via" -t "$@"
fi