Subversion Repositories HelenOS

Rev

Rev 3376 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3376 Rev 3377
Line 84... Line 84...
84
     * TODO: handle tidle (~) expansion? */
84
     * TODO: handle tidle (~) expansion? */
85
 
85
 
86
    rc = chdir(argv[1]);
86
    rc = chdir(argv[1]);
87
 
87
 
88
    if (rc == 0) {
88
    if (rc == 0) {
-
 
89
        cli_set_prompt(usr);
89
        return CMD_SUCCESS;
90
        return CMD_SUCCESS;
90
    } else {
91
    } else {
91
        switch (rc) {
92
        switch (rc) {
92
        case ENOMEM:
93
        case ENOMEM:
93
            cli_error(CL_EFAIL, "Destination path too long");
94
            cli_error(CL_EFAIL, "Destination path too long");