rc: fix shift regresison, sorry
This commit is contained in:
parent
d0e510b29a
commit
45d6bca5f0
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ execshift(void)
|
|||
break;
|
||||
}
|
||||
star = vlook("*");
|
||||
for(;star->val;--n){
|
||||
for(;n>0 && star->val;--n){
|
||||
a = star->val->next;
|
||||
free(star->val->word);
|
||||
free(star->val);
|
||||
|
|
Loading…
Reference in a new issue