diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-12 08:57:11 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-12 08:57:11 -0400 |
commit | 0e9a729bc2208d37ae98383bf9aafbfbc3de4f9d (patch) | |
tree | bfa046778483e437e106d6cf32d2feaed4ef4203 | |
parent | 5698c146564d8d7a185874ab180c4d8aa9e4f506 (diff) | |
download | stasis-0e9a729bc2208d37ae98383bf9aafbfbc3de4f9d.tar.gz |
Ignore request to initialize mission data if it's already there
-rw-r--r-- | src/deliverable.c | 4 |
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")) { |