aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2021-02-20 02:12:59 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2021-02-20 02:12:59 -0800
commit4b7ec7ee5e702dae338fc5fa62bf4b3a7b147581 (patch)
treeacf362e8de362d6510a94f8e6cb2d10ed18969b7
parent90c0c6efde6c8ea7311bd1a1532cda9327ee408a (diff)
downloadldid-4b7ec7ee5e702dae338fc5fa62bf4b3a7b147581.tar.gz
ldid-4b7ec7ee5e702dae338fc5fa62bf4b3a7b147581.tar.zst
ldid-4b7ec7ee5e702dae338fc5fa62bf4b3a7b147581.zip
Please to be not resigning all my Firefox.apps :/.
-rw-r--r--ldid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldid.cpp b/ldid.cpp
index 0a656f8..5c0df22 100644
--- 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 + "/");