summaryrefslogtreecommitdiff
path: root/remoteusage
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2014-03-02 19:32:47 +0200
committerTomi Ollila <tomi.ollila@iki.fi>2014-03-02 19:32:47 +0200
commitab7b97fcdeda8936083794c00971fd8fd96927fb (patch)
tree10db1f5ebd9ed9803fcfb01a30d2263e1d63c9ad /remoteusage
parent810f9d22873ac6b6b3fcd6ea7bbf626ee66b99f6 (diff)
fallback exit handler...
Diffstat (limited to 'remoteusage')
-rw-r--r--remoteusage/124.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoteusage/124.mdwn b/remoteusage/124.mdwn
index 4e71af6..fb01678 100644
--- a/remoteusage/124.mdwn
+++ b/remoteusage/124.mdwn
@@ -21,7 +21,7 @@ Write the following code to a file, for example `remote-notmuch.sh`.
#!/bin/bash
set -eu
- # To trace execution, uncomment next line.
+ # To trace execution, uncomment next line:
#BASH_XTRACEFD=6; exec 6>>remote-errors; echo -- >&6; set -x
: ${REMOTE_NOTMUCH_SSHCTRL_SOCK:=master-notmuch@remote:22}
@@ -40,7 +40,7 @@ Write the following code to a file, for example `remote-notmuch.sh`.
else ev=$?
fi
- # continuing here in case ssh exited with nonzero value.
+ # continuing here in case ssh exited with nonzero value
case $* in
'config get user.primary_email') echo 'nobody@nowhere.invalid'; exit 0 ;;
@@ -51,7 +51,7 @@ Write the following code to a file, for example `remote-notmuch.sh`.
'search'*'--output=tags'*) echo 'errors'; exit 0 ;;
esac
- # for unhandled command line print only to stderr...
+ # fallback exit handler; print only to stderr...
exec >&2
if ssh $SSH_CONTROL_ARGS -O check 0.1