diff --git a/envsetup.sh b/envsetup.sh index cbd59ccce9..c9b1b54002 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1097,7 +1097,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