Merge "[Bugfix][Coredump] Fix coredump_enable() in envsetup.sh"
diff --git a/envsetup.sh b/envsetup.sh
index cbd59cc..c9b1b54 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -1097,7 +1097,7 @@
         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