summaryrefslogtreecommitdiffstats
path: root/src/u_path.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/u_path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/u_path.c b/src/u_path.c
index 1ca1b2d..d851d8b 100644
--- a/src/u_path.c
+++ b/src/u_path.c
@@ -70,7 +70,7 @@ uint8_t u_search_in_path(char fullpath[],
int8_t ret;
if (u_get_var_value(tmp, "$PATH", ARG_MAX, msh) != 0)
- return (1);
+ return (2);
s.dstsize = dstsize;
s.tok_path = ft_strtok(tmp, ":");
while (s.tok_path != NULL)
@@ -84,5 +84,5 @@ uint8_t u_search_in_path(char fullpath[],
}
s.tok_path = ft_strtok(NULL, ":");
}
- return (1);
+ return (2);
}