diff options
Diffstat (limited to 'lang/cpp/src/gpgrevokekeyeditinteractor.cpp')
-rw-r--r-- | lang/cpp/src/gpgrevokekeyeditinteractor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/cpp/src/gpgrevokekeyeditinteractor.cpp b/lang/cpp/src/gpgrevokekeyeditinteractor.cpp index a90b5934..86b3c3c4 100644 --- a/lang/cpp/src/gpgrevokekeyeditinteractor.cpp +++ b/lang/cpp/src/gpgrevokekeyeditinteractor.cpp @@ -116,6 +116,10 @@ unsigned int GpgRevokeKeyEditInteractor::Private::nextState(unsigned int status, return q->state(); } + if (status == GPGME_STATUS_ERROR) { + err = q->parseStatusError(args); + return ERROR; + } switch (const auto state = q->state()) { case START: if (status == GPGME_STATUS_GET_LINE && |