diff options
author | Pavlina Moravcova Varekova <pmoravco@redhat.com> | 2019-07-04 09:05:41 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2020-03-26 11:57:58 +0200 |
commit | 1478c8700f39e17b059c90a90cc77b8f1510ec84 (patch) | |
tree | 89cf18a6340924c5d353549f353a7f19728b5d50 | |
parent | c0f85d59200c33c845f2ada9cf61b021188014c0 (diff) | |
download | rpm-1478c8700f39e17b059c90a90cc77b8f1510ec84.tar.gz |
Raise an error if reading a file during rpmbuild fails (#776)
(cherry picked from commit 7a227533d1342dccc5b3717554a35dbe2baa9832)
(cherry picked from commit 07f565a13665347a7bb6dba3726c4a9248bc7bb1)
-rw-r--r-- | build/files.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/files.c b/build/files.c index 14ba8d072..d063a6b7c 100644 --- a/build/files.c +++ b/build/files.c @@ -1550,6 +1550,8 @@ static rpmRC recurseDir(FileList fl, const char * diskPath) case FTS_INIT: /* initialized only */ case FTS_W: /* whiteout object */ default: + rpmlog(RPMLOG_ERR, _("Can't read content of file: %s\n"), + fts->fts_path); rc = RPMRC_FAIL; break; } |