From 2f7994e3dec1652a32cd9994fd6b16f8e3666861 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 7 Jul 2017 19:42:20 +0200 Subject: [PATCH] Remove bad check --- generate-programs-index.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/generate-programs-index.cc b/generate-programs-index.cc index 0498eb0..2415c18 100644 --- a/generate-programs-index.cc +++ b/generate-programs-index.cc @@ -173,14 +173,6 @@ void mainWrapped(int argc, char * * argv) break; } - if (file2->second.type != FSAccessor::Type::tRegular - || !file2->second.isExecutable) - { - printError("symlink ā€˜%sā€™ points to non-executable ā€˜%sā€™", - storePath + "/" + file.first, stat.target); - break; - } - curPath = sub; stat = file2->second; }