Commit 7efcb569 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix to regex parsing of backend script output.

parent df3918a0
......@@ -279,7 +279,7 @@ TBGetSiteVar("general/firstinit/state", \$firstinitstate);
$newproj->SendNewProjectEmail($firstinitstate eq "createproject");
# The web interface requires this line to be printed!
print "User $new_pid/$new_idx has been created\n";
print "Project $new_pid/$new_idx has been created\n";
exit(0);
sub fatal($) {
......
......@@ -285,7 +285,7 @@ class Project
#
unset($matches);
if (!preg_match("/^User\s+(\w+)\/(\d+)\s+/",
if (!preg_match("/^Project\s+([-\w]+)\/(\d+)\s+/",
$suexec_output_array[count($suexec_output_array)-1],
$matches)) {
$error = "Transient error; please try again later.";
......
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