Control: severity -1 minor thanks On Tue, Sep 17, 2013 at 04:23:48PM +0200, mi...@openend.se wrote: > The adduser man page says this about exit status: > EXIT VALUES > 0 The user exists as specified. This can have 2 causes: The > user was created by adduser or the user was already present > on the system before adduser was invoked. If adduser was > returning 0 , invoking adduser a second time with the same > parameters as before also returns 0. > > However, running the command twice with the same parameters for a non system > user will yield exit code 1:
That's a documentation error, only adduser --system is designed to be idempotent. Greetings Marc