Skip to content

Commit

Permalink
Fix syntax errors in WRE modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Jan 6, 2012
1 parent c0696f6 commit 2affa3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wre/lib/WRE/Mysql.pm
Expand Up @@ -48,7 +48,7 @@ sub dump {
my %options = @_;
my $config = $self->wreConfig;
my $path = file($options{path});
my $command = "mysqldump")
my $command = "mysqldump"
." --user=".$config->get("backup/mysql/user")
." --password=".$config->get("backup/mysql/password")
." --host=".$config->get("mysql/hostname")
Expand Down
4 changes: 1 addition & 3 deletions wre/lib/WRE/Nginx.pm
Expand Up @@ -114,9 +114,7 @@ sub stop {
unless ($wreConfig->get("nginx/port") > 1024 || $host->isPrivilegedUser) {
croak "You are not an administrator on this machine so you cannot stop services with ports 1-1024.";
}
my $cmd = "";
$cmd = $wreConfig->getRoot("/prereqs/bin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." stop";
}
my $cmd = $wreConfig->getRoot("/prereqs/bin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." stop";
`$cmd`; # catch command line output
my $count = 0;
my $success = 0;
Expand Down

0 comments on commit 2affa3a

Please sign in to comment.