From: Tomi Ollila Date: Mon, 24 Oct 2016 05:37:27 +0000 (+0300) Subject: for BASH_XTRACEFD=6 to work, the fd has to be open X-Git-Url: https://git.notmuchmail.org/git?p=notmuch-wiki;a=commitdiff_plain;h=dc6dadf0ad4e8c86b83d927c6154e62af5c780d5 for BASH_XTRACEFD=6 to work, the fd has to be open --- 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}