diff options
Diffstat (limited to 'paperless_pipeline')
-rwxr-xr-x | paperless_pipeline | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/paperless_pipeline b/paperless_pipeline index 52b67d1..c3fb62a 100755 --- a/paperless_pipeline +++ b/paperless_pipeline @@ -31,15 +31,11 @@ else command="paperless_upload --title \"${title}\" --correspondent \"${correspondent}\" ${full_filename}" fi -echo "command: ${command}" command="$(eval "${command}")" -echo -echo " #######################" echo "${command}" -echo " #######################" -if echo "${command}" | bash; then +if echo "${command}" | bash > /dev/null; then rm "${full_filename}" echo echo " #######################" |