summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xspawn.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/xspawn.c b/src/xspawn.c
index f67adec..065fbae 100644
--- a/src/xspawn.c
+++ b/src/xspawn.c
@@ -364,16 +364,10 @@ static int bfs_resolve_late(struct bfs_resolver *res) {
res->done = true;
return 0;
}
-
- if (end) {
- path = end + 1;
- } else {
- errno = ENOENT;
- return -1;
- }
}
- return 0;
+ errno = ENOENT;
+ return -1;
}
/** Check if we can skip path resolution entirely. */