diff options
Diffstat (limited to 'g10/exec.c')
-rw-r--r-- | g10/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c index 5b25f13ce..f2209d8f2 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -485,7 +485,7 @@ int exec_read(struct exec_info *info) } #else /* If we don't have the macros, do the best we can. */ - info->progreturn/=256; + info->progreturn = (info->progreturn & 0xff00) >> 8; #endif /* 127 is the magic value returned from system() to indicate |