Update
This commit is contained in:
parent
9caca5a4fb
commit
f55aa94d84
10 changed files with 330 additions and 374 deletions
|
|
@ -26,7 +26,7 @@ void showDirectory(char *arg[]){
|
|||
DIR *d;
|
||||
struct dirent *dir;
|
||||
char path[PATH_MAX];
|
||||
|
||||
;
|
||||
d = opendir(arg[1]); //Try to open directory
|
||||
if(d == NULL){ //Check if directory exists
|
||||
printf("Folder not found.\n");
|
||||
|
|
|
|||
Reference in a new issue