diff options
Diffstat (limited to 'pm/functions.in')
-rw-r--r-- | pm/functions.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/functions.in b/pm/functions.in index b0401c9..055d0dd 100644 --- a/pm/functions.in +++ b/pm/functions.in @@ -11,7 +11,7 @@ try_lock() { # $1 = file to use as lockfile # $2 (optional) content to write to the lockfile, - # extra newline will be appended + # extra newline will be appended # make sure the directory where the lockfile should be exists mkdir -p "${LOCKDIR}" local lock="${LOCKDIR}/${1##*/}" @@ -134,7 +134,7 @@ if ! command_exists service; then shift "/etc/init.d/$svc" "$@" else - log "$1" $": unrecognized service" 1>&2 + log "${1}: unrecognized service" return 1 fi } |