[Dovecot] convert-tool, exit code wrong?
12 Feb
2008
12 Feb
'08
7:19 p.m.
Hello,
I use convert-tool regularly for converting mbox based mail accounts to maildir based mail accounts. Today I tuned my convert script around convert-tool. I'm irritated about the exit codes. It seems, they should be inverted or am I wrong?
$ /opt/dovecot-1.0.10/bin/convert-tool rogtest1 /home/mail01/rogtest1 mbox:/home/rogtest1/mail maildir:/home/mail01/rogtest1/Maildir 1 Error: Source storage not found $ echo $? 0
$ /opt/dovecot-1.0.10/bin/convert-tool rogtest1 /home/mail01/rogtest1 mbox:/home/rogtest1/mail maildir:/home/mail01/rogtest1/Maildir 1 Info: Successfully converted $ echo $? 1
Ingo
13 Feb
13 Feb
8:23 p.m.
On Tue, 2008-02-12 at 18:19 +0100, Ingo Rogalsky wrote:
Thanks, fixed: http://hg.dovecot.org/dovecot-1.0/rev/f829403b6b9c
6365
Age (days ago)
6366
Last active (days ago)
2 comments
3 participants
participants (3)
-
Benjamin R. Haskell
-
Ingo Rogalsky
-
Timo Sirainen