From fcbee37431eef7ee7230e20a3e466ce2cedac2d6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Apr 2018 15:55:43 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin/strm/cleanup_youtube | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odin/strm/cleanup_youtube') diff --git a/odin/strm/cleanup_youtube b/odin/strm/cleanup_youtube index 02a5b327..06574adb 100644 --- a/odin/strm/cleanup_youtube +++ b/odin/strm/cleanup_youtube @@ -1,5 +1,7 @@ #!@zsh@/bin/zsh +set -e + function notmuch { while true; do result=$(env NOTMUCH_CONFIG=${HOME}/.notmuch-rss-config @notmuch@/bin/notmuch "$@" 2>&1) @@ -50,3 +52,5 @@ notmuch search --output=messages --format=text 'is:cached' | \ done [[ -n "${tagFile}" ]] && notmuch tag --batch --input=${tagFile} + +exit 0 -- cgit v1.2.3