aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-06-10 16:20:05 +0000
committerMicah Anderson <micah@riseup.net>2006-06-10 16:20:05 +0000
commitc22ad121d9d8b11650b265863c783d9f12c92385 (patch)
tree01d7227711ca475e6187b72350dc8ebdb8140d1d
parente3f280a3ca70b1e80edca168af75ff55ccbd2172 (diff)
downloadbackupninja-c22ad121d9d8b11650b265863c783d9f12c92385.tar.gz
backupninja-c22ad121d9d8b11650b265863c783d9f12c92385.tar.bz2
Changed order of -s in the mail call for compatibility, from
anarcat
-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