Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/cd/cd.c

    r6afc9d7 r35a35651  
    5757        previous_directory_set = true;
    5858
    59         if (chdir(new_dir) != 0)
    60                 return errno;
     59        int rc = chdir(new_dir);
     60        if (rc != EOK) {
     61                return rc;
     62        }
    6163
    6264        str_cpy(previous_directory, PATH_MAX, previous_directory_tmp);
Note: See TracChangeset for help on using the changeset viewer.