Commit 6125aaf2 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add some debugging.

parent 677f5544
...@@ -400,6 +400,13 @@ function UpdateCredentials($user, $cert, $cred) ...@@ -400,6 +400,13 @@ function UpdateCredentials($user, $cert, $cred)
"webupdategeniuser -c $credfile -e $certfile $arg $uid", "webupdategeniuser -c $credfile -e $certfile $arg $uid",
SUEXEC_ACTION_CONTINUE); 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($credfile);
unlink($certfile); 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