Hi list, there seems to be a bit of inconsistency when using a statement such
as this:
...
exec(“/usr/local/sbin/script.sh”,,”$var(out)”,”$var(err)”);
...
if $var(err) had a value from another process it could hold contents from
memory. Not a big issue, but when performing a xlog() with those variables,
sometimes values show up from unrelated requests. This can be misleading.
I think if the function is successful, then $var(err) and $var(out) should be
set to empty.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users