From 32f0c112145b33586ddc453bac0b865bb5e160ec Mon Sep 17 00:00:00 2001 From: Frank Bergkemper Date: Tue, 31 Mar 2020 11:23:07 +0200 Subject: [PATCH] core: improve the enable and disable command warning message The warning message should also mention how to make changes permanent. --- core/src/dird/ua_cmds.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/dird/ua_cmds.cc b/core/src/dird/ua_cmds.cc index cb5aac1846a..1fbb3daa7d7 100644 --- a/core/src/dird/ua_cmds.cc +++ b/core/src/dird/ua_cmds.cc @@ -1140,7 +1140,9 @@ static void DoEnDisableCmd(UaContext* ua, bool setting) } ua->WarningMsg( - _("%sabling is a temporary operation until the director reloads\n"), + _("%sabling is a temporary operation until the director reloads.\n" + "For a permanent setting, please set the value of the \"Enabled\"\n" + "directive in the relevant configuration resource file.\n"), setting ? "En" : "Dis"); }