repo: Provide a friendlier error message if no signatures are found

I always forget the key to disable it...
This commit is contained in:
Colin Walters 2013-12-17 23:00:01 -05:00
parent 68c9c45e15
commit 76d9d92916
1 changed files with 1 additions and 1 deletions

View File

@ -1718,7 +1718,7 @@ ostree_repo_verify_commit (OstreeRepo *self,
if (!signaturedata)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
"No signatures found");
"GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)");
goto out;
}