Commit 437c4357 authored by Leigh Stoller's avatar Leigh Stoller

Avoid error message when generating new CA bundle from the web interface.

parent 30f8ae7e
......@@ -461,9 +461,12 @@ sub Regenerate($$)
# Child runs this.
system("$GENCABUNDLE") == 0
or fatal("$GENCABUNDLE failed");
# Must do this too since a crl might no longer be valid.
system("$GENCRLBUNDLE") == 0
or fatal("$GENCRLBUNDLE failed");
# When called from web UI, we are not root.
if ($UID == 0) {
# Must do this too since a crl might no longer be valid.
system("$GENCRLBUNDLE") == 0
or fatal("$GENCRLBUNDLE failed");
}
}
return 0;
}
......
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