smemcap: keep outputting by ignoring transient processes, take two
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9a2621a3b9
commit
270becc240
@ -65,7 +65,7 @@ static void archivefile(const char *path)
|
||||
struct stat s;
|
||||
|
||||
/* buffer the file */
|
||||
fd = xopen(path, O_RDONLY);
|
||||
fd = open(path, O_RDONLY);
|
||||
if (fd == -1) {
|
||||
/* skip vanished processes between dir listing and traversal */
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user