From ea041906178aba92336bf9c53ae7aaea67ed8d18 Mon Sep 17 00:00:00 2001 From: Bastian Bittorf Date: Fri, 19 Apr 2013 14:35:05 +0200 Subject: [PATCH] olsrd: init: cosmetics: always include to name of the script in logoutput --- olsrd/files/olsrd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/olsrd/files/olsrd.init b/olsrd/files/olsrd.init index fe0ba77..7ffe33c 100644 --- a/olsrd/files/olsrd.init +++ b/olsrd/files/olsrd.init @@ -21,11 +21,11 @@ N=' ' log() { - logger -t olsrd -p daemon.info -s "$1" + logger -t olsrd -p daemon.info -s "${initscript}: $@" } error() { - log "error() ${initscript}: $@" + log "ERROR: $@" } validate_varname() { -- 2.30.2