[fix bug]
This commit is contained in:
parent
faf2f73f94
commit
b36c9b1bdc
|
@ -11,7 +11,9 @@ if command -v sudo > /dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#ulimit -c unlimited
|
#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
|
source /etc/profile
|
||||||
|
|
||||||
${csudo} mkdir -p /coredump
|
${csudo} mkdir -p /coredump
|
||||||
|
|
Loading…
Reference in New Issue