Check for mandatory sqlDumpDir parameter
This commit is contained in:
parent
5d33f5877e
commit
de327e663b
@ -131,6 +131,11 @@ if [ $(id -u) -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
### Check for mandatory parameters
|
||||||
|
if [ -z "$sqlDumpDir" ] || [[ "$sqlDumpDir" == -* ]]; then
|
||||||
|
quit 101
|
||||||
|
fi
|
||||||
|
|
||||||
### Set logging verbosity based on invocation parameters
|
### Set logging verbosity based on invocation parameters
|
||||||
if [ "$logLevel" = "normal" ]; then
|
if [ "$logLevel" = "normal" ]; then
|
||||||
borgCreateParams='--stats'
|
borgCreateParams='--stats'
|
||||||
|
Loading…
Reference in New Issue
Block a user