From 6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Sat, 28 Apr 2018 08:21:19 +0100 Subject: check access of external commands when completing --- which.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'which.c') diff --git a/which.c b/which.c index 8ef0e39..731a6ab 100644 --- a/which.c +++ b/which.c @@ -47,7 +47,7 @@ static int ingidset(gid_t g) { Returns a bool instead of this -1 nonsense. */ -static bool rc_access(char *path, bool verbose) { +bool rc_access(char *path, bool verbose) { struct stat st; int mask; if (stat(path, &st) != 0) { -- cgit v1.2.3