Commit 5de17ec5 authored by serg@serg.mylan's avatar serg@serg.mylan

protection against "ln -s /etc/passwd /tmp/failed-mysql-bugreport"

parent cba6ff75
......@@ -252,9 +252,9 @@ eval $EDIT $TEMP
if cmp -s $TEMP $TEMP.x
then
echo "File not changed, no bug report submitted."
cp $TEMP /tmp/failed-mysql-bugreport
mv -f $TEMP /tmp/failed-mysql-bugreport
echo "The raw bug report exists in /tmp/failed-mysql-bugreport"
echo "If you use this remember that the first lines of the report now is a lie.."
echo "If you use this remember that the first lines of the report are now a lie.."
exit 1
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment