check if exclusion list has been specified
This commit is contained in:
parent
d7a8d0ce28
commit
2b66d9e118
@ -485,6 +485,16 @@ printf "${magenta}details:borgXtraListPath ${norm}-- ${ok}[OK]${norm}\n" \
|
|||||||
includeXtra=1
|
includeXtra=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## check if exlusion list file is specified
|
||||||
|
if [ -n "${borgExcludeListPath}" ]; then
|
||||||
|
# check if the file actually exists
|
||||||
|
if [ ! -f "${borgExcludeListPath}" ]; then
|
||||||
|
badDetails dne 'borgExcludeListPath'
|
||||||
|
fi
|
||||||
|
exclusions=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user