X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=remoteusage.mdwn;fp=remoteusage.mdwn;h=33a0cf26b3d4bcfe87abbbac727ea215284cb672;hp=d70a8683b7fb2d4fcfa9c0fcb357aa93ca28d246;hb=c702f59de78c3103876923c58145a16acb82cf4e;hpb=4f01ff1b5ffb62ac4fdd4917799cbe57bd22f825 diff --git a/remoteusage.mdwn b/remoteusage.mdwn index d70a868..33a0cf2 100644 --- a/remoteusage.mdwn +++ b/remoteusage.mdwn @@ -69,7 +69,7 @@ future calls can reuse the socket. create_socket_dir () { - mkdir "${SOCKET_DIR}" + mkdir "${SOCKET_DIR}" chmod 700 "${SOCKET_DIR}" } @@ -103,7 +103,7 @@ future calls can reuse the socket. $SSH_BIN -S $SSH_SOCKET $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${ARGS} } - notmuch_run $@ + notmuch_run "$@" Save this to a file, "remote-notmuch.sh", in your path.