Exclude files listed in yadm/encrypt when decrypt is called
Previously this would only happen when encrypting.
This commit is contained in:
parent
bd68229c57
commit
69cde7f83c
1 changed files with 2 additions and 0 deletions
2
yadm
2
yadm
|
@ -860,6 +860,8 @@ function decrypt() {
|
|||
require_gpg
|
||||
require_archive
|
||||
|
||||
[ -f "$YADM_ENCRYPT" ] && exclude_encrypted
|
||||
|
||||
if [ "$DO_LIST" = "YES" ] ; then
|
||||
tar_option="t"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue