aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc/librc-depend.c2
-rw-r--r--src/rc/runscript.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index c7c782c7..9b8dfd61 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -881,7 +881,7 @@ next:
for (depinfo = deptree; depinfo; depinfo = depinfo->next)
{
bool removed = false;
- if ((deptype = get_deptype (depinfo, "keywords"))) {
+ if ((deptype = get_deptype (depinfo, "keyword"))) {
STRLIST_FOREACH (deptype->services, service, i)
if (strcmp (service, nosys) == 0) {
if (last_depinfo)
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index a50edf2c..3d900c0c 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -515,7 +515,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc)
return (false);
/* Some services don't have a timeout, like fsck */
- keywords = rc_deptree_depend (depinfo, svc, "keywords");
+ keywords = rc_deptree_depend (depinfo, svc, "keyword");
STRLIST_FOREACH (keywords, s, i) {
if (strcmp (s, "notimeout") == 0) {
forever = true;