3
0
Fork 0

Merge pull request #210 from cyrillemoureaux/fix-141

Fix crash when --library is provided but no actual library path is.
fix-bug-pid
Kelson 7 years ago committed by GitHub
commit f99b6965e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -983,15 +983,15 @@ int main(int argc, char** argv)
break;
}
} else {
if (optind <= argc) {
if (optind < argc) {
if (libraryFlag) {
libraryPath = argv[optind++];
} else {
while (optind < argc)
zimPathes.push_back(std::string(argv[optind++]));
}
break;
}
break;
}
}

Loading…
Cancel
Save