diff options
| author | Steven Moreland <smoreland@google.com> | 2017-11-10 14:20:47 -0800 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2017-11-15 10:39:29 -0800 |
| commit | 7d0a5c3656ee56eb81e442b58063d500b4f506e0 (patch) | |
| tree | 1b066819020691798e8f57bc3b64c58e11f21f2f /init/ueventd_parser.h | |
| parent | b480d441ac092fc855711180023e6292e705e589 (diff) | |
| download | system_core-7d0a5c3656ee56eb81e442b58063d500b4f506e0.tar.gz system_core-7d0a5c3656ee56eb81e442b58063d500b4f506e0.tar.bz2 system_core-7d0a5c3656ee56eb81e442b58063d500b4f506e0.zip | |
EndSection returns Result<Success>
Allow it to fail. When there is an error for a section ending,
print the error pointing to the line where the section starts.
Bug: 69050941
Test: boot, init_tests
Change-Id: I1d8ed25f4b74cc9ac24d38b8075751c7d606aea8
Diffstat (limited to 'init/ueventd_parser.h')
| -rw-r--r-- | init/ueventd_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/ueventd_parser.h b/init/ueventd_parser.h index 18d1027b4..83684f39e 100644 --- a/init/ueventd_parser.h +++ b/init/ueventd_parser.h @@ -32,7 +32,7 @@ class SubsystemParser : public SectionParser { Result<Success> ParseSection(std::vector<std::string>&& args, const std::string& filename, int line) override; Result<Success> ParseLineSection(std::vector<std::string>&& args, int line) override; - void EndSection() override; + Result<Success> EndSection() override; private: Result<Success> ParseDevName(std::vector<std::string>&& args); |
