summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-03-24 20:27:07 +0100
committerunknown <serg@serg.mylan>2004-03-24 20:27:07 +0100
commitd043743df33bb5688f43cf8a369ee97b36ea3f64 (patch)
treee9ec30976577a0804bd658a98e0b1b9f28f29e9c /scripts
parenta1daf829fb80dcded5ed3b7eb63752a704d0b634 (diff)
downloadmariadb-git-d043743df33bb5688f43cf8a369ee97b36ea3f64.tar.gz
protection against "ln -s /etc/passwd /tmp/failed-mysql-bugreport"
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqlbug.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysqlbug.sh b/scripts/mysqlbug.sh
index bd5cb497e59..3e0e2f9e8b8 100644
--- a/scripts/mysqlbug.sh
+++ b/scripts/mysqlbug.sh
@@ -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