Commit 6125aaf2 authored by Leigh Stoller's avatar Leigh Stoller

Add some debugging.

parent 677f5544
......@@ -400,6 +400,13 @@ function UpdateCredentials($user, $cert, $cred)
"webupdategeniuser -c $credfile -e $certfile $arg $uid",
SUEXEC_ACTION_CONTINUE);
if ($retval) {
$cred = file_get_contents($credfile);
$cert = file_get_contents($certfile);
TBERROR("webupdategeniuser failed.\n ".
"Cert:\n${cert}\n\n".
"Cred:\n${$cred}\n", 0);
}
unlink($credfile);
unlink($certfile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment