summaryrefslogtreecommitdiffstats
path: root/init/ueventd_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init/ueventd_parser.cpp')
-rw-r--r--init/ueventd_parser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/ueventd_parser.cpp b/init/ueventd_parser.cpp
index cd7adb433..f74c87849 100644
--- a/init/ueventd_parser.cpp
+++ b/init/ueventd_parser.cpp
@@ -132,8 +132,10 @@ Result<Success> SubsystemParser::ParseLineSection(std::vector<std::string>&& arg
return std::invoke(*parser, this, std::move(args));
}
-void SubsystemParser::EndSection() {
+Result<Success> SubsystemParser::EndSection() {
subsystems_->emplace_back(std::move(subsystem_));
+
+ return Success();
}
} // namespace init