Changeset 853:cbeae3d2d58a for attach.c

Show
Ignore:
Timestamp:
1999-02-10 13:19:34 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

patch.mutt-0.95.1i.ld.signals.1: A major redesign of how child
processes are invoked. From Liviu.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r829 r853  
    125125      else 
    126126      { 
     127        int r; 
     128 
    127129        endwin (); 
    128         mutt_system (command); 
    129         if (entry->composetypecommand) 
     130        if ((r = mutt_system (command)) == -1) 
     131          mutt_error (_("Error running \"%s\"!"), command); 
     132         
     133        if (r != -1 && entry->composetypecommand) 
    130134        { 
    131135          BODY *b; 
     
    249253      { 
    250254        endwin (); 
    251         mutt_system (command); 
     255        if (mutt_system (command) == -1) 
     256          mutt_error (_("Error running \"%s\"!"), command); 
    252257      } 
    253258    }