Fix directory check

This commit is contained in:
TheAssassin
2018-11-19 20:52:45 +01:00
parent 6f7a2fd54a
commit 132931772c
+1 -1
View File
@@ -68,7 +68,7 @@ namespace linuxdeploy {
for (bf::directory_iterator i(dir); i != bf::directory_iterator(); ++i) {
// must be a file, and not a directory
if (!(bf::is_directory(bf::absolute(*i)))) {
if (bf::is_directory(bf::absolute(*i))) {
if (extendedDebugLoggingEnabled)
ldLog() << LD_DEBUG << "Entry is a directory, skipping:" << i->path() << std::endl;