From d043743df33bb5688f43cf8a369ee97b36ea3f64 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 24 Mar 2004 20:27:07 +0100 Subject: protection against "ln -s /etc/passwd /tmp/failed-mysql-bugreport" --- scripts/mysqlbug.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/mysqlbug.sh') 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 -- cgit v1.2.1