Skip to content

Commit

Permalink
add error message to 'duc ls' if path not found
Browse files Browse the repository at this point in the history
  • Loading branch information
zevv committed Jun 13, 2015
1 parent 679d5e6 commit efd5153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/duc/cmd-ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ static int ls_main(duc *duc, int argc, char **argv)

duc_dir *dir = duc_dir_open(duc, path);
if(dir == NULL) {
duc_log(duc, DUC_LOG_FTL, "%s", duc_strerror(duc));
return -1;
}

Expand Down

0 comments on commit efd5153

Please sign in to comment.