While trying to delete a user via a php program I notice that the return
code is zero when a user is not found. Shouldn't it be non zero. Or maybe
I'm doing something wrong.
Here's the code and also what I see in the error_log...

system("/usr/local/apache2/bin/htpasswd -D /usr/local/apache2/conf/vins
ight.passwd $username",$retval);

As I said the return value is zero when I see the following in the
error_log...

User jimbo55 not found

Am I going about this wrong or is this a bug?

Thanks for the help.
BTW apache 2.3.3

James

Reply via email to