We should use -feature instead of nofeature.
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
This commit is contained in:
@@ -471,7 +471,8 @@ svc_wait(const char *svc)
|
||||
|
||||
/* Some services don't have a timeout, like fsck */
|
||||
keywords = rc_deptree_depend(deptree, svc, "keyword");
|
||||
if (rc_stringlist_find(keywords, "notimeout"))
|
||||
if (rc_stringlist_find(keywords, "-timeout") ||
|
||||
rc_stringlist_find(keywords, "notimeout"))
|
||||
forever = true;
|
||||
rc_stringlist_free(keywords);
|
||||
|
||||
|
Reference in New Issue
Block a user