]> git.notmuchmail.org Git - notmuch-wiki/blobdiff - remoteusage/124.mdwn
for BASH_XTRACEFD=6 to work, the fd has to be open
[notmuch-wiki] / remoteusage / 124.mdwn
index fb016788541136edc19f0b799458b7ccd1562649..d1149cc9ec199130ac0551973957ac579db69ae8 100644 (file)
@@ -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}