aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 08:57:11 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 08:57:11 -0400
commit0e9a729bc2208d37ae98383bf9aafbfbc3de4f9d (patch)
treebfa046778483e437e106d6cf32d2feaed4ef4203 /src
parent5698c146564d8d7a185874ab180c4d8aa9e4f506 (diff)
downloadstasis-0e9a729bc2208d37ae98383bf9aafbfbc3de4f9d.tar.gz
Ignore request to initialize mission data if it's already there
Diffstat (limited to 'src')
-rw-r--r--src/deliverable.c4
1 files changed, 4 insertions, 0 deletions
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")) {