From cada00ffe09d5fcfe379c3a12ce6dad51620057a Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Wed, 4 Jun 2008 05:28:04 +0000 Subject: [PATCH] [muttator] fixed error message --- content/mail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/mail.js b/content/mail.js index d4fda8ae..53eb4a05 100644 --- a/content/mail.js +++ b/content/mail.js @@ -738,8 +738,8 @@ liberator.Mail = function () //{{{ if (!file.exists()) { - liberator.echoerr("Exxx: Could attach file `" + url + "'", liberator.commandline.FORCE_SINGLELINE); - continue; + liberator.echoerr("Exxx: Could not attach file `" + url + "'", liberator.commandline.FORCE_SINGLELINE); + return; } attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"] .createInstance(Components.interfaces.nsIMsgAttachment);