diff --git a/src/anbox/android/intent.cpp b/src/anbox/android/intent.cpp index 2fcd8f0..4f5e659 100644 --- a/src/anbox/android/intent.cpp +++ b/src/anbox/android/intent.cpp @@ -35,7 +35,7 @@ std::ostream &operator<<(std::ostream &out, const Intent &intent) { out << " " << "package=" << intent.package << " "; if (!intent.component.empty()) out << "component=" << intent.component << " "; - if (!intent.categories.size() > 0) { + if (intent.categories.size() > 0) { out << "categories=[ "; for (const auto &category : intent.categories) out << category << " "; out << "] ";