Changed order of -s in the mail call for compatibility, from
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 10 Jun 2006 16:20:05 +0000 (16:20 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 10 Jun 2006 16:20:05 +0000 (16:20 +0000)
anarcat

git-svn-id: http://code.autistici.org/svn/backupninja/trunk@413 758a04ac-41e6-0310-8a23-8373a73cc35d

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