We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab2587 commit cd67359Copy full SHA for cd67359
src/main/java/com/aws/greengrass/lifecyclemanager/GenericExternalService.java
@@ -383,8 +383,8 @@ protected void startup() throws InterruptedException {
383
logger.atInfo().kv(EXIT_CODE, exit).log("Startup script exited");
384
separateLogger.atInfo().kv(EXIT_CODE, exit).log("Startup script exited");
385
State state = getState();
386
- if (startingStateGeneration == getStateGeneration() && State.STARTING.equals(state)
387
- || State.RUNNING.equals(state)) {
+ if (startingStateGeneration == getStateGeneration()
+ && (State.STARTING.equals(state) || State.RUNNING.equals(state))) {
388
if (exit == 0 && State.STARTING.equals(state)) {
389
reportState(State.RUNNING);
390
} else if (exit != 0) {
0 commit comments