From 029aa73759bb34e2de7feb0b7c6c1174e8dd2a34 Mon Sep 17 00:00:00 2001 From: druckdev Date: Tue, 13 Jul 2021 17:04:28 +0200 Subject: [PATCH] bin:raw2preview: Do not always exit with code 1 When a preview was generated and `JPGs` exist at the end, `rmdir` would fail and the script would always exit with that same return code. --- .local/bin/raw2preview | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/raw2preview b/.local/bin/raw2preview index 90de3af..d0f292c 100755 --- a/.local/bin/raw2preview +++ b/.local/bin/raw2preview @@ -48,4 +48,4 @@ for file; do fi done -rmdir JPGs >/dev/null 2>&1 +rmdir JPGs >/dev/null 2>&1 || true