From 0e9a729bc2208d37ae98383bf9aafbfbc3de4f9d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 12 Apr 2024 08:57:11 -0400 Subject: Ignore request to initialize mission data if it's already there --- src/deliverable.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/deliverable.c b/src/deliverable.c index bf6d479..039658b 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -359,6 +359,10 @@ static int populate_mission_ini(struct Delivery **ctx) { union INIVal val; struct INIFILE *ini; + if ((*ctx)->_omc_ini_fp.mission) { + return 0; + } + // Now populate the rules char missionfile[PATH_MAX] = {0}; if (getenv("OMC_SYSCONFDIR")) { -- cgit