coredumpctl: fix spurious "more than one entry matches" warning
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Sep 2016 22:40:55 +0000 (00:40 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Sep 2016 21:49:01 +0000 (23:49 +0200)
commitcfeead6c77792a8cec83e4d5673698aef3e4d817
tree45e25b5be1606143ad7ab9191ea09b96792ff487
parent954d3a51afc0ee23e84b1aa9c4a9073901cfb766
coredumpctl: fix spurious "more than one entry matches" warning

sd_journal_previous() returns 0 if it didn't do any move, so the
warning was stupidly always printed.
src/coredump/coredumpctl.c