Завершение обновления безопасности.
v++
This commit is contained in:
@@ -9,7 +9,7 @@ public abstract class ShutdownServerPass<S extends RepositoryServer> extends Rep
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (getServer().PingFromClient()) {
|
||||
return true;
|
||||
return super.canStart();
|
||||
} else {
|
||||
Log.Writeln_("Сервер уже неактивен!");
|
||||
return false;
|
||||
|
||||
@@ -12,7 +12,7 @@ public abstract class StartServerPass<S extends RepositoryServer> extends Reposi
|
||||
Log.Writeln_("Сервер уже активен!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return super.canStart();
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user