Page MenuHome GnuPG

Errorlevel/return code always 2 on error
Closed, ResolvedPublic

Description

Release: v1.2.4 - Windows version

Environment

Windows version

Description

The errorlevel or return code is always 2 on error on the windows compiled version. I believe that on other compiled versions the return code is different depending on the error.

How To Repeat

Decrypt a file with various encryption problems.

Fix

Unknown

Event Timeline

The return code does in general not indicate the severity of an error; itshould simply be considered as success or failure. Same on all platforms.