bareos2015: bareos-13.2 db7d2093

Author Committer Branch Timestamp Parent
joergs mvwieringen bareos-13.2 2014-04-24 19:37 bareos-13.2 d5671c85 Pending
Changeset handle unset parameter

some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
that exit if a variable is undefined.
To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
Also fixes a bug, when using a database password that contains "/".
"/" is now a allowed character, but "#" is forbidden.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/bareos-config-lib.sh.in Diff File