about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY2
-rwxr-xr-xgenerator/ppmrainbow2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index f092ca69..f57a9df2 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -25,6 +25,8 @@ not yet  BJH  Release 10.82.00
               ppmrainbow: Add "ppmrainbow: " to error messages, like other
               programs.
 
+              ppmrainbow: improve error message.
+              
               ppmpat: Fix bug - crash or junk output with -camo or -anticamo
               and no -color.  Introduced in Netpbm 10.78 (March 2017).
 
diff --git a/generator/ppmrainbow b/generator/ppmrainbow
index 4df3c297..e8a329ff 100755
--- a/generator/ppmrainbow
+++ b/generator/ppmrainbow
@@ -115,7 +115,7 @@ while (@colorlist >= 2) {
     my $rc = system("$verboseCommand pgmramp -lr $w $Thgt | " .
                     "pgmtoppm \"$colorlist[0]-$colorlist[1]\" >$outfile");
     if ($rc != 0) {
-        fatal("pgmramp|pgmtoppm failed.");
+        fatal("pgmramp|pgmtoppm pipe failed.");
     }
     $widthRemaining -= $w;
     $n++;