X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/7ab076e9a34703804e9559bacb050342f3b65f6f..32439eadb0bc1861dd450133bfcf9467a996de3d:/.bin/offlineimap diff --git a/.bin/offlineimap b/.bin/offlineimap index ad01298..789fbe4 100755 --- a/.bin/offlineimap +++ b/.bin/offlineimap @@ -4,14 +4,12 @@ set -eu if ! test -t 0; then echo Renicing because we are not run interactively… >&2 renice 20 -p $$ >/dev/null - ionice -c2 -n7 -p $$ + ionice -c3 -p $$ fi ret=0 -/usr/bin/offlineimap -o "$@" || ret=$? +/usr/bin/offlineimap -o "$@" || exit $? if [ -x "$(command -v notmuch)" ]; then - notmuch new + notmuch new || exit $? fi - -exit $ret