diff options
author | unknown <serg@serg.mylan> | 2004-03-24 20:27:07 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-03-24 20:27:07 +0100 |
commit | d043743df33bb5688f43cf8a369ee97b36ea3f64 (patch) | |
tree | e9ec30976577a0804bd658a98e0b1b9f28f29e9c /scripts | |
parent | a1daf829fb80dcded5ed3b7eb63752a704d0b634 (diff) | |
download | mariadb-git-d043743df33bb5688f43cf8a369ee97b36ea3f64.tar.gz |
protection against "ln -s /etc/passwd /tmp/failed-mysql-bugreport"
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqlbug.sh | 4 |
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 |