Changed order of -s in the mail call for compatibility, from
authorMicah Anderson <micah@riseup.net>
Sat, 10 Jun 2006 16:20:05 +0000 (16:20 +0000)
committerMicah Anderson <micah@riseup.net>
Sat, 10 Jun 2006 16:20:05 +0000 (16:20 +0000)
anarcat

src/backupninja.in

index 16ac7a7dc5e5417ffeae1f64b23b427ea4a562f8..fb6cc16e39eea4d4f917662bff30f5b63017c41f 100755 (executable)
@@ -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