mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Support both gpg1 and gpg2 missing key error messages
This commit is contained in:
@@ -499,7 +499,7 @@ EOF
|
|||||||
|
|
||||||
#; validate status and output
|
#; validate status and output
|
||||||
[ "$status" -eq 1 ]
|
[ "$status" -eq 1 ]
|
||||||
[[ "$output" =~ public\ key\ not\ found ]]
|
[[ "$output" =~ public\ key\ not\ found ]] || [[ "$output" =~ No\ public\ key ]]
|
||||||
[[ "$output" =~ Unable\ to\ write ]]
|
[[ "$output" =~ Unable\ to\ write ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user