profile: disable core files creation for root user

This commit is contained in:
Silvan Calarco 2011-10-21 01:58:23 +02:00
parent 46447b5367
commit ca33f328bb

View File

@ -20,9 +20,6 @@ fi
loginsh=1 loginsh=1
# Users generally won't see annoyng core files
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1
# Make path more comfortable # Make path more comfortable
PATH=/bin:/usr/bin:/usr/local/bin PATH=/bin:/usr/bin:/usr/local/bin
if [ "$UID" = 0 ]; then if [ "$UID" = 0 ]; then