Skip to content

Commit 2affa3a

Browse files
committedJan 6, 2012
Fix syntax errors in WRE modules.
1 parent c0696f6 commit 2affa3a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎wre/lib/WRE/Mysql.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sub dump {
4848
my %options = @_;
4949
my $config = $self->wreConfig;
5050
my $path = file($options{path});
51-
my $command = "mysqldump")
51+
my $command = "mysqldump"
5252
." --user=".$config->get("backup/mysql/user")
5353
." --password=".$config->get("backup/mysql/password")
5454
." --host=".$config->get("mysql/hostname")

‎wre/lib/WRE/Nginx.pm

+1-3
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ sub stop {
114114
unless ($wreConfig->get("nginx/port") > 1024 || $host->isPrivilegedUser) {
115115
croak "You are not an administrator on this machine so you cannot stop services with ports 1-1024.";
116116
}
117-
my $cmd = "";
118-
$cmd = $wreConfig->getRoot("/prereqs/bin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." stop";
119-
}
117+
my $cmd = $wreConfig->getRoot("/prereqs/bin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." stop";
120118
`$cmd`; # catch command line output
121119
my $count = 0;
122120
my $success = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.