From c22ad121d9d8b11650b265863c783d9f12c92385 Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Sat, 10 Jun 2006 16:20:05 +0000
Subject: [PATCH] Changed order of -s in the mail call for compatibility, from
 anarcat

---
 src/backupninja.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab