diff --git a/mass.cgi b/mass.cgi index 53228bd..97c525b 100755 --- a/mass.cgi +++ b/mass.cgi @@ -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) { @@ -37,7 +36,7 @@ elsif ($in{'startnow'}) { print &text('start_starting', "$di->[1]->{'name'}"),"\n"; print "
"; - $ex = &start_domain_action($di->[0], $di->[1]); + &start_domain_action($di->[0], $di->[1]); print ""; } @@ -51,7 +50,7 @@ elsif ($in{'stopnow'}) { print &text('stop_stopping', "$di->[1]->{'name'}"),"\n"; print "
"; - $ex = &stop_domain_action($di->[0], $di->[1]); + &stop_domain_action($di->[0], $di->[1]); print ""; } @@ -65,7 +64,7 @@ elsif ($in{'restartnow'}) { print &text('restart_restarting', "$di->[1]->{'name'}"),"\n"; print "
"; - $ex = &restart_domain_action($di->[0], $di->[1]); + &restart_domain_action($di->[0], $di->[1]); print ""; }