From 2ac05cfb6fbd870463a38e356f0b2ad91c1ce402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=EF=BF=BD=EF=BF=BD?= Date: Tue, 14 Oct 2014 21:41:23 +0000 Subject: [PATCH] spare one more little cat --- src/cron_users_doit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cron_users_doit.sh b/src/cron_users_doit.sh index 0585e2e0..005be7c8 100755 --- a/src/cron_users_doit.sh +++ b/src/cron_users_doit.sh @@ -60,7 +60,7 @@ echo -e "\n---------- END ----------" # If there is an email specified, mail it if [ ! "x$email" == "x" -a ! "$email" == "null" ] ; then date=$(date +%x\ %X) - cat "$tmpfile" | mailx -s "AlternC Cron #$id - Report $date" -a "From: noreply@$FQDN" "$(urldecode $email)" + mailx -s "AlternC Cron #$id - Report $date" -a "From: noreply@$FQDN" "$(urldecode $email)" < "$tmpfile" fi rm -f "$tmpfile"