mirror of
https://github.com/TheLocehiliosan/yadm
synced 2025-06-13 13:03:58 +00:00
Don't encrypt nothingness
This commit is contained in:
parent
09a018ea5a
commit
f57a01b0d4
5
yadm
5
yadm
@ -418,6 +418,11 @@ function encrypt() {
|
|||||||
require_encrypt
|
require_encrypt
|
||||||
parse_encrypt
|
parse_encrypt
|
||||||
|
|
||||||
|
if [ "${#ENCRYPT_INCLUDE_FILES[@]}" -eq 0 ]; then
|
||||||
|
error_out "No files were found to encrypt"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
cd_work "Encryption" || return
|
cd_work "Encryption" || return
|
||||||
|
|
||||||
#; Build gpg options for gpg
|
#; Build gpg options for gpg
|
||||||
|
Loading…
Reference in New Issue
Block a user