tail: exit successfully upon watched process death
commitd3feea0181720d6e872875c52200511a5e5878a0
authorGiuseppe Scrivano <gscrivano@gnu.org>
Wed, 29 Jul 2009 18:57:29 +0000 (29 20:57 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Jul 2009 08:24:17 +0000 (30 10:24 +0200)
treef841616773907d51551e93186b3084cf8302243a
parent5ef9069576230e11b123fffb52012c5b0e9c5f33
tail: exit successfully upon watched process death

* src/tail.c (tail_forever_inotify): If a PID is specified and the
watched process dies, exit with status EXIT_SUCCESS, rather than
falling through to an EXIT_FAILURE.
src/tail.c