Commit f457efe8 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix; if no cookie comes back, exit with non-zero status

instead of referencing an undefined variable.
parent 3436489b
......@@ -137,6 +137,9 @@ if ($CONTROL ne $BOSSNODE) {
close(COOKIE) or
fatal("$MMPROXY failed on $CONTROL!");
exit(1)
if (!defined($cookie));
# Send back to PHP.
print $cookie;
}
......
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