om

om - the most recently modified file in a directory
Log | Files | Refs | README

commit 77598a7ff2bc09d019c57f2def56606375d078d6
parent 3f3aec0425cec5ed2960421299e52abc53fb1348
Author: Larry Hynes <larry@larryhynes.com>
Date:   Wed Mar  8 19:36:08 +0000

Improve error msg

Diffstat:
.gitignore | 1-
om.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,2 +1 @@ om -urls diff --git a/om.c b/om.c @@ -53,7 +53,7 @@ om(const char* dir, char* rcnt) closedir(dirp); } else { - errx(EX_NOINPUT, "Something went wrong"); + errx(EX_NOINPUT, "Could not open %s", dir); } }