On Fri, Dec 04, 2009 at 10:17:42AM +0100, Gabor Kiss wrote:
> Deluser(8) writes:
>        --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.
> 
> Actually in case of deleting non-existent group the exit code is 3 even
> if I give --system option.

I agree with that twelve years later. Maybe we should deluser --force
have this behavior even for non-system users since people using deluser
probably only care about the result, the user being gone after the call.

Greetings
Marc

Reply via email to