summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-07-26 13:53:20 +0200
committerNiklas Halle <niklas@niklashalle.net>2020-07-26 13:53:20 +0200
commit3f413304856ef0d99a434c4b62dcfb82ab0aa744 (patch)
tree2d69e41fcdc57439047260d74aad47fcdb1b6e5e
parent09c655e2c12c51d8f19401df838bb373e520e6cc (diff)
downloadpaperless_upload-master.tar.gz
paperless_upload-master.zip
cleaned up outputHEADmaster
-rwxr-xr-xpaperless_pipeline6
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 " #######################"