listdir example fix

master
Daniel Kolesa 2018-04-20 01:23:47 +02:00
parent a85cf13c56
commit 15736cc0ce
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ inline void list_dirs(path const &path, int off = 0) {
}
int main(int argc, char **argv) {
if (argc < 1) {
if (argc <= 1) {
return 1;
}
list_dirs(argv[1]);