]> git.cworth.org Git - notmuch-wiki/commitdiff
for BASH_XTRACEFD=6 to work, the fd has to be open
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 24 Oct 2016 05:37:27 +0000 (08:37 +0300)
committerTomi Ollila <tomi.ollila@iki.fi>
Mon, 24 Oct 2016 05:37:27 +0000 (08:37 +0300)
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}