Skip to content

Commit

Permalink
Merge branch 'master' of github.com:virtualmin/virtualmin-init
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 8, 2016
2 parents e375e39 + e0e9655 commit 5864e06
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mass.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ foreach my $di (@d) {
}

my $idx = "index.cgi?dom=$dominits[0]->[0]->{'id'}";
my $ex;
if ($in{'delete'}) {
# Delete them all
foreach my $di (@dominits) {
Expand All @@ -37,7 +36,7 @@ elsif ($in{'startnow'}) {
print &text('start_starting',
"<tt>$di->[1]->{'name'}</tt>"),"\n";
print "<pre>";
$ex = &start_domain_action($di->[0], $di->[1]);
&start_domain_action($di->[0], $di->[1]);
print "</pre>";
}

Expand All @@ -51,7 +50,7 @@ elsif ($in{'stopnow'}) {
print &text('stop_stopping',
"<tt>$di->[1]->{'name'}</tt>"),"\n";
print "<pre>";
$ex = &stop_domain_action($di->[0], $di->[1]);
&stop_domain_action($di->[0], $di->[1]);
print "</pre>";
}

Expand All @@ -65,7 +64,7 @@ elsif ($in{'restartnow'}) {
print &text('restart_restarting',
"<tt>$di->[1]->{'name'}</tt>"),"\n";
print "<pre>";
$ex = &restart_domain_action($di->[0], $di->[1]);
&restart_domain_action($di->[0], $di->[1]);
print "</pre>";
}

Expand Down

0 comments on commit 5864e06

Please sign in to comment.