diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/dev-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c index e025e17bbe..1a565d5470 100644 --- a/src/shared/dev-setup.c +++ b/src/shared/dev-setup.c @@ -64,7 +64,7 @@ int dev_setup(const char *prefix) { if (j[0] == '-') { j++; - if (access(j, F_OK)) + if (access(j, F_OK) < 0) continue; } |