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.
This commit is contained in:
@@ -48,4 +48,4 @@ for file; do
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
rmdir JPGs >/dev/null 2>&1
|
rmdir JPGs >/dev/null 2>&1 || true
|
||||||
|
|||||||
Reference in New Issue
Block a user