From dc6dadf0ad4e8c86b83d927c6154e62af5c780d5 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 24 Oct 2016 08:37:27 +0300 Subject: [PATCH] for BASH_XTRACEFD=6 to work, the fd has to be open --- remoteusage/124.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoteusage/124.mdwn b/remoteusage/124.mdwn index fb01678..d1149cc 100644 --- a/remoteusage/124.mdwn +++ b/remoteusage/124.mdwn @@ -22,7 +22,7 @@ Write the following code to a file, for example `remote-notmuch.sh`. set -eu # To trace execution, uncomment next line: - #BASH_XTRACEFD=6; exec 6>>remote-errors; echo -- >&6; set -x + #exec 6>>remote-errors; BASH_XTRACEFD=6; echo -- >&6; set -x : ${REMOTE_NOTMUCH_SSHCTRL_SOCK:=master-notmuch@remote:22} : ${REMOTE_NOTMUCH_COMMAND:=notmuch} -- 2.43.0