diff options
| author | talyz <kim.lindberger@gmail.com> | 2022-01-31 12:44:54 +0100 |
|---|---|---|
| committer | talyz <kim.lindberger@gmail.com> | 2022-01-31 12:44:54 +0100 |
| commit | 95069d76d34b0c40d3585c579004e4221a90c22f (patch) | |
| tree | 23784781ee95956739427ac0095bf98c1e7d17e5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 689b76bcf36055afdeb2e9852f5ecdd2bf483f87 (diff) | |
genJqSecretsReplacementSnippet: Propagate secret file read errors
If an error occurs while trying to read a secret file, we want that
error to propagate to the main shell context. That means we have to
set the `inherit_errexit` option, which allows errors from subshells
to propagate to the outer shell. Also, the subshell cannot run as part
of another command, such as `export`, since that will simply ignore
the subshell exit status and only respect `export`s exit status; first
assigning the value to a variable and then exporting it solves issue.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
