From: Matthijs Kooijman Date: Mon, 5 Jan 2009 15:16:30 +0000 (+0100) Subject: ldap: Add the (optional) function keyword. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=9f3e4b65cddecc6ff373f0dd9ac646ca5d47c356;p=matthijs%2Fupstream%2Fbackupninja.git ldap: Add the (optional) function keyword. This makes the function definition a bit clearer. --- diff --git a/handlers/ldap.in b/handlers/ldap.in index 6ef9948..0868eac 100644 --- 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"