diff --git a/envsetup.sh b/envsetup.sh index 21be1f90bb..8856212004 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1107,7 +1107,7 @@ function coredump_enable() return; fi; echo "Setting core limit for $PID to infinite..."; - adb shell /system/bin/ulimit -p $PID -c unlimited + adb shell /system/bin/ulimit -P $PID -c unlimited } # core - send SIGV and pull the core for process