Subject: groupdel gives no error like userdel does
To: None <>
From: Geert Hendrickx <>
List: tech-userlevel
Date: 06/14/2005 13:41:47

if I (attempt to) userdel a non-existing user, userdel says: 
> userdel: No such user `johndoe'
and returns 1.  

But groupdel gives no such error, and even returns 0, always.  Wouldn't
it be better if both calls behave similar?  

I've been looking through the source src/usr.sbin/user/user.c (userdel
and groupdel are the same binary), but I'm not sure were the error
should be triggered, in groupdel or in modify_gid.  Any hints on this?  


(I'm not subscribed to this list, so please CC me any followups, thanks)