From 250944e67f504150899b2e8581089902c39607d3 Mon Sep 17 00:00:00 2001 From: Antonio Date: Mon, 21 Oct 2024 16:12:05 +0200 Subject: [PATCH] Update server.py --- empire/server/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/empire/server/server.py b/empire/server/server.py index bfeb69cd2..9f9d4f94e 100755 --- a/empire/server/server.py +++ b/empire/server/server.py @@ -16,7 +16,7 @@ from empire.server.core.config import empire_config from empire.server.core.db import base from empire.server.utils import file_util -from empire.server.utils.file_util import run_as_user +from empire.server.utils.file_util import run_command from empire.server.utils.log_util import LOG_FORMAT, SIMPLE_LOG_FORMAT, ColorFormatter log = logging.getLogger(__name__) @@ -145,7 +145,7 @@ def check_submodules(): def fetch_submodules(): command = ["git", "submodule", "update", "--init", "--recursive"] - run_as_user(command) + run_command(command) def check_recommended_configuration():