diff options
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r-- | shell/cmdedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 25d31a0e0..56b789ab6 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -1297,6 +1297,7 @@ int cmdedit_read_input(char *prompt, char command[BUFSIZ]) | |||
1297 | /* Control-d -- Delete one character, or exit | 1297 | /* Control-d -- Delete one character, or exit |
1298 | * if the len=0 and no chars to delete */ | 1298 | * if the len=0 and no chars to delete */ |
1299 | if (len == 0) { | 1299 | if (len == 0) { |
1300 | errno = 0; | ||
1300 | prepare_to_die: | 1301 | prepare_to_die: |
1301 | #if !defined(CONFIG_ASH) | 1302 | #if !defined(CONFIG_ASH) |
1302 | printf("exit"); | 1303 | printf("exit"); |