aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces')
-rwxr-xr-xinterfaces/email/interactive/be-handle-mail1
1 files changed, 1 insertions, 0 deletions
diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail
index 0816dec..fa80698 100755
--- a/interfaces/email/interactive/be-handle-mail
+++ b/interfaces/email/interactive/be-handle-mail
@@ -265,6 +265,7 @@ class Command (object):
raise self.err
return (self.ret, self.stdout, self.stderr)
def response_msg(self):
+ if self.ret == None: self.ret = -1
response_body = [u"Results of running: (exit code %d)" % self.ret,
u" %s %s" % (self.command, u" ".join(self.args))]
if self.stdout != None and len(self.stdout) > 0: