diff options
author | Jaroslav Kysela <perex@perex.cz> | 2022-01-28 18:07:46 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2022-01-28 18:07:46 +0100 |
commit | a9b35252b4b82f05bf80a39e212b61a51e6fef30 (patch) | |
tree | 910c73853b97d2378bf411ed0743d98828243bce | |
parent | 31d4afd8cad0220ca18e3624b3c55dc163514147 (diff) | |
download | alsa-utils-a9b35252b4b82f05bf80a39e212b61a51e6fef30.tar.gz |
topology: don't fail when Define section is missing in the included file
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | topology/pre-processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/topology/pre-processor.c b/topology/pre-processor.c index 5278240..f32f80c 100644 --- a/topology/pre-processor.c +++ b/topology/pre-processor.c @@ -409,7 +409,7 @@ static int pre_process_include_conf(struct tplg_pre_processor *tplg_pp, snd_conf /* forcefully overwrite with defines from the command line */ ret = pre_process_add_defines(tplg_pp, *new); - if (ret < 0) { + if (ret < 0 && ret != -ENOENT) { fprintf(stderr, "Failed to parse arguments in input config\n"); goto err; } |