summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext4_utils/ext4_crypt_init_extensions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/ext4_crypt_init_extensions.cpp b/ext4_utils/ext4_crypt_init_extensions.cpp
index 9b687e80..5d664196 100644
--- a/ext4_utils/ext4_crypt_init_extensions.cpp
+++ b/ext4_utils/ext4_crypt_init_extensions.cpp
@@ -144,7 +144,7 @@ int e4crypt_set_directory_policy(const char* dir)
}
// Don't encrypt lost+found - ext4 doesn't like it
- if (strcmp(dir, "/data/lost+found")) {
+ if (!strcmp(dir, "/data/lost+found")) {
return 0;
}