From 58e25274b1af1265ee076f1524d5ff9f18c485ba Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 5 May 2019 21:03:38 +0300 Subject: [PATCH] Silence false warning from shellcheck. --- Documents/bin/forward | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documents/bin/forward b/Documents/bin/forward index ea58afa..46c23f1 100755 --- a/Documents/bin/forward +++ b/Documents/bin/forward @@ -9,5 +9,7 @@ host="$1" || { usage >> /dev/stderr; exit 1; } forward="$2" || { usage >> /dev/stderr; exit 1; } alias ssh='ssh -fnNTS ~/.ssh/%C.sock' +# shellcheck disable=SC2029 ssh -o ControlMaster=auto -o ControlPersist=0 -o ExitOnForwardFailure=no -o ControlPersist=0 "$host" +# shellcheck disable=SC2029 ssh -O forward -L "$forward" "$host" -- GitLab