[Dovecot] doveadm user error messages
I use 'doveadm user' in some scripts and the exit codes are fine for my purposes. During tests it transpired that Dovecot 2.1 would give an error message when querying for non-existent users. Dovecot 2.2 just exits without a word. Not sure this is intended behaviour:
$ doveadm user foo $ echo $? 67
$ id foo id: foo: No such user
Regards Thomas
On 27.1.2013, at 18.56, Thomas Leuxner <tlx@leuxner.net> wrote:
I use 'doveadm user' in some scripts and the exit codes are fine for my purposes. During tests it transpired that Dovecot 2.1 would give an error message when querying for non-existent users. Dovecot 2.2 just exits without a word. Not sure this is intended behaviour:
$ doveadm user foo $ echo $? 67
- Timo Sirainen <tss@iki.fi> 2013.02.22 14:35:
$ doveadm user foo $ echo $? 67
Looks good now. Thanks.
participants (2)
-
Thomas Leuxner
-
Timo Sirainen