Changeset d8ef374 in mainline for uspace/app/bdsh/scli.c


Ignore:
Timestamp:
2009-10-15T18:06:32Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7c7a3209
Parents:
622cdbe
Message:

bdsh should inherit the current working directory rather than setting "/"
unconditionally.

File:
1 edited

Legend:

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

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