Fixed typo in error message email
[zfs-ubuntu/.git] / zfs-replicate-all
index 8d43bd92430e3c1f5c0a124a50c08185c9803fa5..afd30b89c2f280ddcb6ec796d9f6dda6ca097219 100755 (executable)
@@ -54,7 +54,7 @@ fatal_and_exit() {
   # echo message to terminal
   echo -e 2>&1 "$1"
   # send email notification
-  echo -e "$1" | $mailx -s "zfs scrub on $hostname failed" "$mailto"
+  echo -e "$1" | $mailx -s "zfs-replicate-all on $hostname failed" "$mailto"
   exit 1
 }