Changeset 1207 for trunk/src/kash/trap.c


Ignore:
Timestamp:
Oct 7, 2007, 7:09:24 PM (18 years ago)
Author:
bird
Message:

jobs and other stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kash/trap.c

    r1203 r1207  
    261261        else
    262262                action = S_IGN;
    263         if (rootshell && !vforked && action == S_DFL) {
     263        if (psh->rootshell && !vforked && action == S_DFL) {
    264264                switch (signo) {
    265265                case SIGINT:
     
    447447        char *p;
    448448
    449         TRACE((psh, "pid %d, exitshell(%d)\n", getpid(), status));
     449        TRACE((psh, "pid %d, exitshell(%d)\n", sh_getpid(psh), status));
    450450        if (setjmp(loc1.loc)) {
    451451                goto l1;
Note: See TracChangeset for help on using the changeset viewer.