summaryrefslogtreecommitdiff
path: root/src/condition.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-11-08 19:44:16 +0100
committerLennart Poettering <lennart@poettering.net>2011-11-08 19:44:16 +0100
commit1e2579fdeb7608719cb28da0b5061f48ba0efc34 (patch)
tree83352697294bd24015efdce199e8fbc3d2788f6e /src/condition.c
parenta40593a0d0d740efa387e35411e1e456a6c5aba7 (diff)
parent4cbd9ecf45f64c3a9acc99d473fbf3be3687ae24 (diff)
Merge branch 'master' into journal
Diffstat (limited to 'src/condition.c')
-rw-r--r--src/condition.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/condition.c b/src/condition.c
index f18c45421a..2b51a16f17 100644
--- a/src/condition.c
+++ b/src/condition.c
@@ -187,6 +187,8 @@ static bool test_capability(const char *parameter) {
}
}
+ fclose(f);
+
return !!(capabilities & (1ULL << value));
}