Changeset 913:53810c1b1560 for attach.c

Show
Ignore:
Timestamp:
1999-07-06 15:57:06 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
mutt-1-0-stable
Message:

Applying Liviu Daia's signal handling patches. They work fine with
unstable for months now, so we may wish to use them with stable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r905 r913  
    126126      else 
    127127      { 
     128        int r; 
     129 
    128130        endwin (); 
    129         mutt_system (command); 
    130         if (entry->composetypecommand) 
     131        if ((r = mutt_system (command)) == -1) 
     132          mutt_error (_("Error running \"%s\"!"), command); 
     133         
     134        if (r != -1 && entry->composetypecommand) 
    131135        { 
    132136          BODY *b; 
     
    250254      { 
    251255        endwin (); 
    252         mutt_system (command); 
     256        if (mutt_system (command) == -1) 
     257          mutt_error (_("Error running \"%s\"!"), command); 
    253258      } 
    254259    }