Changes in uspace/app/bdsh/scli.c [d8ef374:fc11b8a] in mainline


Ignore:
File:
1 edited

Legend:

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

    rd8ef374 rfc11b8a  
    6161        usr->line = (char *) NULL;
    6262        usr->name = "root";
     63        usr->home = "/";
    6364        usr->cwd = (char *) NULL;
    6465        usr->prompt = (char *) NULL;
     66        chdir(usr->home);
    6567        usr->lasterr = 0;
    6668        return (int) cli_set_prompt(usr);
Note: See TracChangeset for help on using the changeset viewer.