We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da9bac commit d9d7c5fCopy full SHA for d9d7c5f
src/interceptors/android/adb-commands.ts
@@ -311,9 +311,8 @@ export async function injectSystemCertificate(
311
# Apps inherit the Zygote's mounts at startup, so we inject here to ensure all newly
312
# started apps will see these certs straight away:
313
for Z_PID in "$ZYGOTE_PID" "$ZYGOTE64_PID"; do
314
- # We use 'echo' below to trim spaces
315
if [ -n "$Z_PID" ]; then
316
- nsenter --mount=/proc/$(echo $Z_PID)/ns/mnt -- \
+ nsenter --mount=/proc/$Z_PID/ns/mnt -- \
317
/bin/mount --bind /system/etc/security/cacerts /apex/com.android.conscrypt/cacerts
318
fi
319
done
0 commit comments