2006-10-17 [colin] 2.5.5cvs11
[claws.git] / src / plugins / pgpcore / sgpgme.c
index 77295a684cd226ebcc17e652249a1c65c457779c..a4c744475fd820277e8a643ee95005e59a1ee7d1 100644 (file)
@@ -719,6 +719,7 @@ again:
                        } else if (pid == 0) {
                                /* son */
                                res = system(cmd);
+                               res = WEXITSTATUS(res);
                                _exit(res);
                        } else {
                                int status = 0;