Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a462105a
...
a462105a4ab41858eeaa724e0813c5da1bc0914e
authored
2002-08-27 10:48:54 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed return status when the mailbox does not exist.
1 parent
8d783c51
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
frm/frm.c
frm/frm.c
View file @
a462105
...
...
@@ -353,14 +353,15 @@ main(int argc, char **argv)
mailbox_get_url
(
mbox
,
&
url
);
if
(
status
==
ENOENT
)
status
=
2
;
else
goto
cleanup1
;
else
{
fprintf
(
stderr
,
"could not open mailbox %s: %s
\n
"
,
url_to_string
(
url
),
mu_errstring
(
status
));
goto
cleanup
;
}
}
if
(
!
be_quiet
)
{
...
...
@@ -396,6 +397,7 @@ cleanup:
return
3
;
}
cleanup1:
if
(
show_summary
)
printf
(
"You have %d messages
\n
"
,
total
);
if
(
show_query
&&
have_new_mail
)
...
...
Please
register
or
sign in
to post a comment