]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
Changed failure exit status of mkstemp(1) from 255 to 1.
[nmh] / uip / slocal.c
index bf58fd0baa3bd8d35ff02850f3d3f65e7de079b2..b249dc4b7ede3819bda2a99dd2c813003c40a206 100644 (file)
@@ -1118,11 +1118,10 @@ usr_pipe (int fd_arg, char *cmd, char *pgm, char **vec, int suppress)
                if (verbose) {
                    if (status == 0)
                        verbose_printf (", success.\n");
-                   else
-                       if ((status & 0xff00) == 0xff00)
-                           verbose_printf (", system error\n");
-                       else
-                           pidstatus (status, stdout, ", failed");
+                   else if ((status & 0xff00) == 0xff00)
+                        verbose_printf (", system error\n");
+                    else
+                        pidstatus (status, stdout, ", failed");
                }
                return (status == 0 ? 0 : -1);
            }