diff options
| author | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 08:21:19 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 08:21:19 +0100 |
| commit | 6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec (patch) | |
| tree | 453b2ee53f0d12caa4966dcb0fc7ac7770c49f06 /which.c | |
| parent | cb99a1b11a2f0d39cd92a27351a4920422bcd7a1 (diff) | |
check access of external commands when completing
Diffstat (limited to 'which.c')
| -rw-r--r-- | which.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |