diff options
author | Niklas Halle <niklas@niklashalle.net> | 2020-07-26 13:53:20 +0200 |
---|---|---|
committer | Niklas Halle <niklas@niklashalle.net> | 2020-07-26 13:53:20 +0200 |
commit | 3f413304856ef0d99a434c4b62dcfb82ab0aa744 (patch) | |
tree | 2d69e41fcdc57439047260d74aad47fcdb1b6e5e | |
parent | 09c655e2c12c51d8f19401df838bb373e520e6cc (diff) | |
download | paperless_upload-master.tar.gz paperless_upload-master.zip |
-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 " #######################" |