Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 910a3559 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Use ulimit -p rather than prlimit.

Neither is standard, but ulimit is toybox and therefore a bit more
regular and at least has help text.

Change-Id: Id7ba9adc9ca256b821d8060506010abef30dee28
parent ef0c2062
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1029,7 +1029,7 @@ function coredump_enable()
        return;
    fi;
    echo "Setting core limit for $PID to infinite...";
    adb shell prlimit $PID 4 -1 -1
    adb shell /system/bin/ulimit -p $PID -c unlimited
}

# core - send SIGV and pull the core for process