olsrd: init: cosmetics: always include to name of the script in logoutput
authorBastian Bittorf <bittorf@bluebottle.com>
Fri, 19 Apr 2013 12:35:05 +0000 (14:35 +0200)
committerBastian Bittorf <bittorf@bluebottle.com>
Fri, 19 Apr 2013 12:35:05 +0000 (14:35 +0200)
olsrd/files/olsrd.init

index fe0ba77..7ffe33c 100644 (file)
@@ -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() {