Skip to content
Permalink
Browse files

Fix syntax errors in WRE modules.

  • Loading branch information...
perlDreamer committed Jan 6, 2012
1 parent c0696f6 commit 2affa3a2e41dc6c2b0964af2f03cbeaa42dc3eef
Showing with 2 additions and 4 deletions.
  1. +1 −1 wre/lib/WRE/Mysql.pm
  2. +1 −3 wre/lib/WRE/Nginx.pm
@@ -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")
@@ -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;

0 comments on commit 2affa3a

Please sign in to comment.
You can’t perform that action at this time.