From: Jesse Rosenthal Date: Thu, 13 May 2010 19:11:31 +0000 (-0400) Subject: And pretty up the script some more. X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=b5ec758859597ae6e61c9d452b9292994fcb08ed And pretty up the script some more. Indentations. --- diff --git a/remoteusage.mdwn b/remoteusage.mdwn index 968978e..147138c 100644 --- a/remoteusage.mdwn +++ b/remoteusage.mdwn @@ -62,7 +62,6 @@ be necessary in the furture. $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN $@ | while read line; do sleep 0.1 echo "${line}" - done else $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN $@ @@ -81,8 +80,8 @@ be necessary in the furture. scp ${SSH_HOST}:${1} "${FILE_DIR}" > /dev/null 2>&1 retcode="${?}" if [ "${retcode}" -ne "0" ]; then - echo "Failed to fetch file" 1>&2 - exit ${retcode} + echo "Failed to fetch file" 1>&2 + exit ${retcode} fi }