commit f8b8659dff328a5ce164fb6875706c54081d060e
parent dba3e08f387d996f4cd290cf8a83b554d3785e8f
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Wed, 2 Nov 2022 01:05:57 +0100
Fix variable in enabled_services() function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rc-builder.include.awk b/rc-builder.include.awk
@@ -30,7 +30,7 @@ function start_longrun_with_logger(svc_name, deps) {
start_service(svc_name, "longrun")
longrun_with_logger(svc_name, deps)
}
-function enabled_service(svc_name, deps, var_name) {
+function enabled_service(svc_name, type, var_name) {
var_name = "enable_" current_service_name
gsub(/[-. ]/, "_", var_name)
return start_service(svc_name, type, var_name)