diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-15 15:21:22 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-15 15:21:22 +0200 |
commit | 82f39bc8888a765dd4efb1b3539cc2bbac684ed9 (patch) | |
tree | 39660eb559cdfbc7189dd3aee1f6a343ffa12e57 | |
parent | e93d76665d1ca0f7388ce22f1da1c38ce0900dac (diff) | |
download | rpm-82f39bc8888a765dd4efb1b3539cc2bbac684ed9.tar.gz rpm-82f39bc8888a765dd4efb1b3539cc2bbac684ed9.tar.bz2 rpm-82f39bc8888a765dd4efb1b3539cc2bbac684ed9.zip |
Shut up another case of FUSE mount stat whining (rhbz#432907)
-rw-r--r-- | lib/fs.c | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -197,11 +197,16 @@ static int getFilesystemList(void) # endif if (stat(mntdir, &sb)) { - rpmlog(RPMLOG_ERR, _("failed to stat %s: %s\n"), mntdir, + switch (errno) { + case ESTALE: + case EACCES: + continue; + default: + rpmlog(RPMLOG_ERR, _("failed to stat %s: %s\n"), mntdir, strerror(errno)); - - rpmFreeFilesystems(); - return 1; + rpmFreeFilesystems(); + return 1; + } } if ((numFilesystems + 2) == numAlloced) { |