summaryrefslogtreecommitdiff
path: root/odin
diff options
context:
space:
mode:
Diffstat (limited to 'odin')
-rw-r--r--odin/strm/cleanup_youtube4
1 files changed, 4 insertions, 0 deletions
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 @@
1#!@zsh@/bin/zsh 1#!@zsh@/bin/zsh
2 2
3set -e
4
3function notmuch { 5function notmuch {
4 while true; do 6 while true; do
5 result=$(env NOTMUCH_CONFIG=${HOME}/.notmuch-rss-config @notmuch@/bin/notmuch "$@" 2>&1) 7 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' | \
50 done 52 done
51 53
52[[ -n "${tagFile}" ]] && notmuch tag --batch --input=${tagFile} 54[[ -n "${tagFile}" ]] && notmuch tag --batch --input=${tagFile}
55
56exit 0