coredump: fix inode check
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Feb 2022 16:22:27 +0000 (17:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Feb 2022 16:27:21 +0000 (17:27 +0100)
commitc20c77eff8ef1a76ef5aea02df7121507bf9be69
tree780ff50d06c34a2eee9fb61ca8de70e09a97ad00
parent675e7fc22c7ab45bf9f4a4414bf7c87734a00d15
coredump: fix inode check

When checking if we look at the root directory we actually need to
compare both st_dev *and* st_ino. The existing check only checked the
latter. Fix that.
src/coredump/coredump.c