Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r5db9084 r36a75a2  
    5050#include "errors.h"
    5151#include "exec.h"
    52 
    53 extern volatile unsigned int cli_quit;
    5452
    5553/** Text input field. */
     
    109107{
    110108        char *str;
    111         int rc;
    112109
    113110        fflush(stdout);
     
    117114        console_set_style(fphone(stdout), STYLE_NORMAL);
    118115
    119         rc = tinput_read(tinput, &str);
    120         if (rc == ENOENT) {
    121                 /* User requested exit */
    122                 cli_quit = 1;
    123                 putchar('\n');
    124                 return;
    125         }
    126 
    127         if (rc != EOK) {
    128                 /* Error in communication with console */
    129                 return;
    130         }
     116        str = tinput_read(tinput);
    131117
    132118        /* Check for empty input. */
Note: See TracChangeset for help on using the changeset viewer.