Skip to content

Commit

Permalink
install: Only complain install map is not set if prefix is set to som…
Browse files Browse the repository at this point in the history
…ething
  • Loading branch information
obiwac committed Dec 21, 2024
1 parent baa2acf commit 6f25812
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ int setup_install_map(flamingo_t* flamingo, char const* _prefix) {
}

if (map->val->kind == FLAMINGO_VAL_KIND_NONE) {
LOG_WARN("Install map not set; nothing to install!");
if (_prefix != NULL) {
LOG_WARN("Install map not set; nothing to install!");
}

return 0;
}

Expand Down

0 comments on commit 6f25812

Please sign in to comment.