diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-13 18:20:41 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-13 18:21:10 -0400 |
commit | b7ed5ec492e26a86ebf98cdc12bd3b65f44924ba (patch) | |
tree | 1a42090b0ca7ec34f4736c7a64860064fb79f4aa | |
parent | c8a08f759bb8f47253a3f114643c8c213f0c9109 (diff) | |
download | stasis-b7ed5ec492e26a86ebf98cdc12bd3b65f44924ba.tar.gz |
If conda_setup_headless cannot succeed, die
-rw-r--r-- | src/delivery.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/delivery.c b/src/delivery.c index 320cd94..b27ab08 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -1467,7 +1467,10 @@ void delivery_conda_enable(struct Delivery *ctx, char *conda_install_dir) { exit(1); } - conda_setup_headless(); + if (conda_setup_headless()) { + // no COE check. this call must succeed. + exit(1); + } } void delivery_defer_packages(struct Delivery *ctx, int type) { |