]> git.saurik.com Git - ldid.git/commitdiff
Please to be not resigning all my Firefox.apps :/.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 20 Feb 2021 10:12:59 +0000 (02:12 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 20 Feb 2021 10:12:59 +0000 (02:12 -0800)
ldid.cpp

index 0a656f8d4b7824365beaa27979b55a104ce74dc4..5c0df22a1713b565c732d0dba1a83c0cdb0e1be7 100644 (file)
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -3031,7 +3031,7 @@ int main(int argc, char *argv[]) {
         struct stat info;
         _syscall(stat(path.c_str(), &info));
 
-        if (S_ISDIR(info.st_mode)) {
+        if (flag_S && S_ISDIR(info.st_mode)) {
 #ifndef LDID_NOPLIST
             _assert(!flag_r);
             ldid::DiskFolder folder(path + "/");