Skip to content

Commit c870b34

Browse files
committed
The OSConfig Universal NRP shall not attempt to enable the OSConfig Platform when the OSConfig Platform is not installed (#1217)
1 parent d071d64 commit c870b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adapters/mc/OsConfigResource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static MPI_HANDLE RefreshMpiClientSession(MPI_HANDLE currentMpiHandle, MI_Contex
167167
mpiHandle = NULL;
168168
}
169169

170-
if (true == EnableAndStartDaemon(g_mpiServer, GetLog()))
170+
if ((0 == IsPresent(g_mpiServer, GetLog())) && (true == EnableAndStartDaemon(g_mpiServer, GetLog())))
171171
{
172172
sleep(1);
173173

0 commit comments

Comments
 (0)