Add restart loader condition 90/301590/2
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 20 Nov 2023 08:36:26 +0000 (17:36 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 21 Nov 2023 01:29:20 +0000 (01:29 +0000)
commit0179e22b2fab06bc9daa253c72c1c3a3426f56af
treedff670279c9132767a6c37ac4bc36e7a9be3e76a
parent0b00c16bef406cb031a2c29da693bbf4fe157688
Add restart loader condition

When handling the RESTART_LOADER command, it is necessary to check whether the
loader_context is launchable.
In some cases, a problem occurred by launching a loader in a non-executable state.
This patch fixes this case.

Change-Id: I835799364d4dcd4e0d8c30e0d60a52f5ec08ff10
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/launchpad-process-pool/launchpad.cc