Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Issue #261 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shawniverson committed Apr 17, 2016
1 parent 9d76181 commit 57584c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/EFA/learn-msg.cgi
Expand Up @@ -26,7 +26,7 @@ use Net::Netmask;
print "Content-type: text/html \n\n";

$query = new CGI;
$salearn = "/usr/local/bin/sa-learn --spam";
$salearn = "/usr/bin/sa-learn --spam";
$id = param("id");
$token = param("token");
$db_name = "efa";
Expand All @@ -38,8 +38,8 @@ while ($line = <FILE>) {
if ($line =~ /^EFASQLPWD/) {
$db_pass = $line;
$db_pass =~ s/^EFASQLPWD://;
$db_pass =~ s/\n//;
break;
$db_pass =~ s/\n//;
break;
}
}
close (FILE);
Expand Down

0 comments on commit 57584c0

Please sign in to comment.