Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
43aa130a
Commit
43aa130a
authored
Oct 23, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If "var" is a symlink which does not point to anything, remove it before creating real var
parent
962fe847
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
43aa130a
...
@@ -1868,6 +1868,11 @@ sub kill_running_servers () {
...
@@ -1868,6 +1868,11 @@ sub kill_running_servers () {
if
(
!
-
d
$opt_vardir
)
if
(
!
-
d
$opt_vardir
)
{
{
if
(
-
l
$opt_vardir
and
!
-
d
readlink
(
$opt_vardir
)
)
{
mtr_report
("
Removing
$opt_vardir
symlink without destination
");
unlink
(
$opt_vardir
);
}
# The "var" dir does not exist already
# The "var" dir does not exist already
# the processes that mtr_kill_leftovers start will write
# the processes that mtr_kill_leftovers start will write
# their log files to var/log so it should be created
# their log files to var/log so it should be created
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment