From 781d81abef8780c84eb4acb3cd0d2d65ca3ff720 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sun, 21 Jan 2018 14:34:58 +0000 Subject: [PATCH] Fix processing of "run-as" parameter. --- src/load_service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/load_service.cc b/src/load_service.cc index 59322ea..ba2bfe4 100644 --- a/src/load_service.cc +++ b/src/load_service.cc @@ -591,7 +591,7 @@ service_record * dirload_service_set::load_service(const char * name) } else if (setting == "run-as") { string run_as_str = read_setting_value(i, end, nullptr); - run_as_uid = parse_uid_param("run-as", name, &run_as_gid); + run_as_uid = parse_uid_param(run_as_str, name, &run_as_gid); } else { throw service_description_exc(name, "Unknown setting: " + setting); -- 2.25.1