Skip to content

Commit

Permalink
$ex is never used
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jul 1, 2016
1 parent 2889c43 commit e0e9655
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 e0e9655

Please sign in to comment.