summaryrefslogtreecommitdiff
path: root/libmodprobe/libmodprobe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmodprobe/libmodprobe.cpp')
-rw-r--r--libmodprobe/libmodprobe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmodprobe/libmodprobe.cpp b/libmodprobe/libmodprobe.cpp
index ceabf626c..b3ae93785 100644
--- a/libmodprobe/libmodprobe.cpp
+++ b/libmodprobe/libmodprobe.cpp
@@ -66,6 +66,7 @@ bool Modprobe::ParseDepCallback(const std::string& base_path,
deps.emplace_back(prefix + args[0].substr(0, pos));
} else {
LOG(ERROR) << "dependency lines must start with name followed by ':'";
+ return false;
}
// Remaining items are dependencies of our module