diff options
Diffstat (limited to 'src/condition.c')
-rw-r--r-- | src/condition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condition.c b/src/condition.c index 131b456806..7f8564966a 100644 --- a/src/condition.c +++ b/src/condition.c @@ -162,7 +162,7 @@ bool condition_test(Condition *c) { case CONDITION_PATH_IS_DIRECTORY: { struct stat st; - if (lstat(c->parameter, &st) < 0) + if (stat(c->parameter, &st) < 0) return !c->negate; return S_ISDIR(st.st_mode) == !c->negate; } |