chiark / gitweb /
condition: fix reversed tests if path does not exist at all
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Sep 2011 00:10:00 +0000 (02:10 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Sep 2011 00:10:00 +0000 (02:10 +0200)
commit1f8fef5a44e6ce711808665bca6eb43d604fe279
tree94e367511fa273102afc4a37aee19d40ac6b5923
parentf8440af5febb18ddfd2bc7a94b771284f0b7b310
condition: fix reversed tests if path does not exist at all

CONDITION_PATH_IS_DIRECTORY, CONDITION_PATH_IS_SYMBOLIC_LINK and
CONDITION_FILE_IS_EXECUTABLE gave reversed results when the path
did not exist at all.
src/condition.c