273:c743721d566f | 274:5577d3eae04c |
---|---|
1581 free(path); | 1581 free(path); |
1582 continue; | 1582 continue; |
1583 } | 1583 } |
1584 if(S_ISDIR(s.st_mode)) { | 1584 if(S_ISDIR(s.st_mode)) { |
1585 if(rmdir(path)) { | 1585 if(rmdir(path)) { |
1586 perror("unlink"); | 1586 perror("rmdir"); |
1587 } | 1587 } |
1588 } else { | 1588 } else { |
1589 if(unlink(path)) { | 1589 if(unlink(path)) { |
1590 perror("unlink"); | 1590 perror("unlink"); |
1591 } | 1591 } |