Skip to content

Commit 9822ae3

Browse files
authored
Merge pull request #122 from julio-b/adbinj
Fix incorrect command in ADB cert injection script
2 parents 5a18300 + 3f7a921 commit 9822ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interceptors/android/adb-commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ export async function injectSystemCertificate(
410410
# Create a separate temp directory, to hold the current certificates
411411
# Without this, when we add the mount we can't read the current certs anymore.
412412
mkdir -p /data/local/tmp/htk-ca-copy
413-
chown 700 /data/local/tmp/htk-ca-copy
413+
chmod 700 /data/local/tmp/htk-ca-copy
414414
rm -rf /data/local/tmp/htk-ca-copy/*
415415
416416
# Copy out the existing certificates

0 commit comments

Comments
 (0)