File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ sub dump {
48
48
my %options = @_ ;
49
49
my $config = $self -> wreConfig;
50
50
my $path = file($options {path });
51
- my $command = " mysqldump" )
51
+ my $command = " mysqldump"
52
52
." --user=" .$config -> get(" backup/mysql/user" )
53
53
." --password=" .$config -> get(" backup/mysql/password" )
54
54
." --host=" .$config -> get(" mysql/hostname" )
Original file line number Diff line number Diff line change @@ -114,9 +114,7 @@ sub stop {
114
114
unless ($wreConfig -> get(" nginx/port" ) > 1024 || $host -> isPrivilegedUser) {
115
115
croak " You are not an administrator on this machine so you cannot stop services with ports 1-1024." ;
116
116
}
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" ;
120
118
` $cmd ` ; # catch command line output
121
119
my $count = 0;
122
120
my $success = 0;
You can’t perform that action at this time.
0 commit comments