Remove bad check

This commit is contained in:
Eelco Dolstra 2017-07-07 19:42:20 +02:00
parent b6c049019a
commit 2f7994e3de
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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;
}