From 669108f477f404b58364bec8a49712f25d05bfe2 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 7 Oct 2023 19:14:59 +0200 Subject: irmd: Don't load config file without --config set The irmd was automatically loading the default configfile (usually /etc/ouroboros/irmd.conf) if present. Now the --config parameter has to be set for the irmd to load a config. The service is adapted to have the --config command line parameter set at install. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/irmd/main.c b/src/irmd/main.c index 4b73a44e..f9423f4b 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -2689,7 +2689,7 @@ static void irm_argparse(int argc, char ** argv) { #ifdef HAVE_TOML - irmd.cfg_file = OUROBOROS_CONFIG_DIR OUROBOROS_CONFIG_FILE; + irmd.cfg_file = NULL; #endif argc--; argv++; -- cgit v1.2.3