aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-xsrc/backupninja.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backupninja.in b/src/backupninja.in
index 16ac7a7..fb6cc16 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -526,7 +526,7 @@ if [ $doit == 1 ]; then
echo ${messages[$i]}
done
echo -e "$errormsg"
- } | mail $reportemail -s "backupninja: $hostname $subject"
+ } | mail -s "backupninja: $hostname $subject" $reportemail
fi
if [ $actions_run != 0 ]; then