[1/7] settings: remove dot from log message
Message ID | 1499183171-24236-1-git-send-email-jonatan.schlag@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <network-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id EE050621AC for <patchwork@ipfire.org>; Tue, 4 Jul 2017 17:46:16 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id C0F6D27CD; Tue, 4 Jul 2017 17:46:16 +0200 (CEST) Received: from ipfire.localdomain (dslb-088-073-193-205.088.073.pools.vodafone-ip.de [88.73.193.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 645591E5B; Tue, 4 Jul 2017 17:46:14 +0200 (CEST) From: Jonatan Schlag <jonatan.schlag@ipfire.org> To: network@lists.ipfire.org Subject: [PATCH 1/7] settings: remove dot from log message Date: Tue, 4 Jul 2017 17:46:05 +0200 Message-Id: <1499183171-24236-1-git-send-email-jonatan.schlag@ipfire.org> X-Mailer: git-send-email 2.6.3 X-BeenThere: network@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List for the network package <network.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/network>, <mailto:network-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/network/> List-Post: <mailto:network@lists.ipfire.org> List-Help: <mailto:network-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/network>, <mailto:network-request@lists.ipfire.org?subject=subscribe> Errors-To: network-bounces@lists.ipfire.org Sender: "network" <network-bounces@lists.ipfire.org> |
Message
Jonatan Schlag
July 5, 2017, 1:46 a.m. UTC
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@ipfire.org>
---
src/functions/functions.settings | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi, this commit message says that you removed the dot, but it is still there... -Michael On Tue, 2017-07-04 at 17:46 +0200, Jonatan Schlag wrote: > 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@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..9efbe8e 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}