]> git.cworth.org Git - notmuch-wiki/blobdiff - remoteusage.mdwn
Quote all the arguments.
[notmuch-wiki] / remoteusage.mdwn
index 48aced826cc5478283fd802fca50691735af397a..d70a8683b7fb2d4fcfa9c0fcb357aa93ca28d246 100644 (file)
@@ -99,10 +99,8 @@ future calls can reuse the socket.
             else
                 exit 1
             fi
-            CMD=$1
-            shift
             printf -v ARGS "%q " "$@"
-            $SSH_BIN -S $SSH_SOCKET $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${CMD} ${ARGS}
+            $SSH_BIN -S $SSH_SOCKET $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${ARGS}
         }
         
         notmuch_run $@