[fix bug]

This commit is contained in:
Hui Li 2020-08-13 14:47:18 +08:00
parent faf2f73f94
commit b36c9b1bdc
1 changed files with 3 additions and 1 deletions

4
packaging/tools/set_core.sh Normal file → Executable file
View File

@ -11,7 +11,9 @@ if command -v sudo > /dev/null; then
fi
#ulimit -c unlimited
${csudo} echo "ulimit -c unlimited" >> /etc/profile
${csudo} sed -i '/ulimit -c unlimited/d' /etc/profile
${csudo} sed -i '$a\ulimit -c unlimited' /etc/profile
#${csudo} echo "ulimit -c unlimited" >> /etc/profile
source /etc/profile
${csudo} mkdir -p /coredump