X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fssh-wrapper;h=14d9525ad741911eb6ff380b4362ffbbb259cdad;hb=7d67dfb772254f771ef9cb80f98e516cef6e27ef;hp=a340934beabb025635d86b060865e8f82856475e;hpb=8143c2593c2537b222e3bde7ee2685286c992a87;p=wannabuild.git diff --git a/bin/ssh-wrapper b/bin/ssh-wrapper index a340934..14d9525 100755 --- a/bin/ssh-wrapper +++ b/bin/ssh-wrapper @@ -11,8 +11,12 @@ if [ "$bn" != "wanna-build" ]; then exit 1 fi +echo -- $@ | grep -q -- --dist=.*-security || \ +logger -i -p user.debug -t ssh-wrapper -- $@ + shift [ -f "$bin" -a -x "$bin" ] || exit 1 -exec $bin $@ +exec $bin --recorduser $@ +