aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index add40eb5f..5fa693b0a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1006,7 +1006,7 @@ static void restore_G_args(save_arg_t *sv, char **argv)
1006 * Commands run in command substitution ("`cmd`") 1006 * Commands run in command substitution ("`cmd`")
1007 * have SIGTTIN, SIGTTOU, SIGTSTP set to SIG_IGN. 1007 * have SIGTTIN, SIGTTOU, SIGTSTP set to SIG_IGN.
1008 * 1008 *
1009 * Ordinary commands have signals set to SIG_IGN/DFL set as inherited 1009 * Ordinary commands have signals set to SIG_IGN/DFL as inherited
1010 * by the shell from its parent. 1010 * by the shell from its parent.
1011 * 1011 *
1012 * Siganls which differ from SIG_DFL action 1012 * Siganls which differ from SIG_DFL action
@@ -1285,7 +1285,7 @@ static int set_local_var(char *str, int flg_export, int flg_read_only)
1285 if (strncmp(cur->varstr, str, name_len) != 0) { 1285 if (strncmp(cur->varstr, str, name_len) != 0) {
1286 if (!cur->next) { 1286 if (!cur->next) {
1287 /* Bail out. Note that now cur points 1287 /* Bail out. Note that now cur points
1288 * to last var in linked list */ 1288 * to the last var in the linked list */
1289 break; 1289 break;
1290 } 1290 }
1291 cur = cur->next; 1291 cur = cur->next;