tags 372599 +pending thanks This one time, at band camp, Jochen Friedrich said: > Hi Julien, > > while the order of commands in snmpd.postrm might not be optimal, > this is rather a bug of deluser --system returning an error on > non-existing users while the man page states it doesn't. > > With adduser 3.85: > > # deluser --quiet --system blabla; echo $? > 0 > > With adduser 3.87: > > # deluser --quiet --system blabla; echo $? > 2 > > This is what the man page says: > > --system > Only delete if user/group is a system user/group. This avoids > accidentally deleting non-system users/groups. Additionally, if > the user does not exist, no error value is returned. This option > is mainly for use in Debian package maintainer scripts. > > Thus reassigning to adduser.
Fixed in svn. Thanks. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature