projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99fc759
)
ldap: Add the (optional) function keyword.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 5 Jan 2009 15:16:30 +0000
(16:16 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 7 Jan 2009 20:49:35 +0000
(21:49 +0100)
This makes the function definition a bit clearer.
handlers/ldap.in
patch
|
blob
|
history
diff --git
a/handlers/ldap.in
b/handlers/ldap.in
index 6ef9948cf2f7dc5dd6851ce568d8658c67f731fa..0868eac9086f4a9bd9837d22d2d9bf3b171727d7 100644
(file)
--- a/
handlers/ldap.in
+++ b/
handlers/ldap.in
@@
-44,7
+44,7
@@
fi
status="ok"
-make_backup() {
+
function
make_backup() {
vsname=$1
if [ -z "$vsname" ]; then
info "Running on host"