diff options
author | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-14 14:24:59 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2022-04-14 18:19:39 +0300 |
commit | e96b67a069da8ab2a2b884a0ca0446d6cf4fe945 (patch) | |
tree | 37818ddee5a8b88b1b527e89a4463cf9d3969d74 /Dockerfile | |
parent | 3b73a372a3b21192b9fec51352c5019675834b26 (diff) |
code_cov_parse_info: fix error handling when opening files
While on bash scripts we use "||" for error handling, perl
accepts it, but it has a higher priority, thus would require
to use parenthesis before that.
That causes it to print a warning when the open fail while
reading filter files, instead of the original intent of
finishing and reporting an error.
So, let's use "or" instead.
Reviewed-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions