summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-07 22:32:37 -0500
committerJune McEnroe <june@causal.agency>2019-11-07 22:32:37 -0500
commit4498b2298ecd14f933133e555a06f90c8a9640ab (patch)
tree815aa41a1752f06cdf9434c2be25eef9edfe70dd
parentCall clientConsume before clientRecv (diff)
downloadpounce-4498b2298ecd14f933133e555a06f90c8a9640ab.tar.gz
pounce-4498b2298ecd14f933133e555a06f90c8a9640ab.zip
Include path in readlinkat error
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index 5f615aa..407dd44 100644
--- a/bounce.c
+++ b/bounce.c
@@ -107,7 +107,7 @@ struct SplitPath {
 static bool linkTarget(char *target, size_t cap, int dir, const char *file) {
 	ssize_t len = readlinkat(dir, file, target, cap - 1);
 	if (len < 0 && errno == EINVAL) return false;
-	if (len < 0) err(EX_IOERR, "readlinkat");
+	if (len < 0) err(EX_NOINPUT, "%s", file);
 	target[len] = '\0';
 	return true;
 }
tationJune McEnroe 2018-08-26Add NetBSD to install.shJune McEnroe 2018-08-24Show hostname in title over SSHJune McEnroe 2018-08-23Alias bc='bc -l'June McEnroe 2018-08-20Update usage of scheme in READMEJune McEnroe 2018-08-20Use scheme.h in fbatt and fbclockJune McEnroe 2018-08-20Generate scheme.hJune McEnroe 2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe Why didn't I know about this song? I love it. 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe