Keep It Simple, Stupid | |
PerlMonks |
Re: Scripting Helpby NetWallah (Canon) |
on Dec 14, 2015 at 19:26 UTC ( [id://1150268]=note: print w/replies, xml ) | Need Help?? |
Your "groupadd" code uses $group_id which does not seem to be defined. The linux command for deleting groups is "groupdel", not "delgroup". Error-checking Linux return codes (use $? >> 8) would certainly help. "I can cast out either one of your demons, but not both of them." -- the XORcist
In Section
Seekers of Perl Wisdom
|
|