diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/delivery/delivery_install.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c index 6432bef..8550a43 100644 --- a/src/lib/delivery/delivery_install.c +++ b/src/lib/delivery/delivery_install.c @@ -64,7 +64,9 @@ int delivery_overlay_packages_from_env(struct Delivery *ctx, const char *env_nam guard_free(current_env); struct StrList *frozen_list = strlist_init(); - strlist_append_tokenize(frozen_list, freeze_output, LINE_SEP); + if (!isempty(freeze_output)) { + strlist_append_tokenize(frozen_list, freeze_output, LINE_SEP); + } guard_free(freeze_output); struct StrList *new_list = strlist_init(); |