public inbox for network@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] settings: remove dot from log message
@ 2017-07-05 14:02 Jonatan Schlag
  2017-07-05 14:02 ` [PATCH 2/2] config: remove old hashes Jonatan Schlag
  0 siblings, 1 reply; 2+ messages in thread
From: Jonatan Schlag @ 2017-07-05 14:02 UTC (permalink / raw)
  To: network

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

The dots at the end of log messages can be confusing.
Especially behind variables,it is often unclear if the dot was part of the variable or not
which make debugging much harder.

Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
 src/functions/functions.settings | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/functions/functions.settings b/src/functions/functions.settings
index 0e50bf1..c73349a 100644
--- a/src/functions/functions.settings
+++ b/src/functions/functions.settings
@@ -159,7 +159,7 @@ settings_write() {
 		return ${EXIT_ERROR}
 	fi
 
-	log DEBUG "Writing settings file ${settings_file}."
+	log DEBUG "Writing settings file '${settings_file}'"
 
 	mkdir -p $(dirname ${settings_file}) 2>/dev/null
 	> ${settings_file}
-- 
2.6.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-05 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 14:02 [PATCH 1/2] settings: remove dot from log message Jonatan Schlag
2017-07-05 14:02 ` [PATCH 2/2] config: remove old hashes Jonatan Schlag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox