summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-05-10 08:18:21 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-05-10 08:18:21 -0500
commitb8fb53358d2aa90d694080486bd7f828d891e0be (patch)
tree579f15afee9f13f2eb815142c7abd0cfbabd40e5
parent831626d71e56c9241a3a77eab6f4cbc7f99e01d1 (diff)
Minor functions.in formatting changes.
-rw-r--r--pm/functions.in4
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
}