om

om - the most recently modified file in a directory
git clone git://git.larryhynes.net/om
Log | Files | Refs | README | LICENSE

commit 7ac90e4a6b4a50302fed8f847363409908b5ad6b
parent fdcb3c5faba6549dfc0fa1cbd42900967185c1a7
Author: Larry Hynes <larry@larryhynes.com>
Date:   Tue,  4 Jul 2017 16:16:43 +0100

Remove unecessary return from isdir()

- errx will exit, so the return 1 is superfluous

Diffstat:
om.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/om.c b/om.c @@ -23,7 +23,6 @@ isdir() return 0; else { errx(1, "Could not stat %s", dir); - return 1; } }