Commit e560f2f3 authored by Rasmus Johansson's avatar Rasmus Johansson Committed by GitHub

Merge pull request #846 from shinnok/bb-5.5-mtr-shm

MDEV-17022: check if mtr --mem location is writeable
parents 064ba8cc 1b1b9413
......@@ -1457,7 +1457,7 @@ sub command_line_setup {
foreach my $fs (@tmpfs_locations)
{
if ( -d $fs )
if ( -d $fs && -w $fs )
{
my $template= "var_${opt_build_thread}_XXXX";
$opt_mem= tempdir( $template, DIR => $fs, CLEANUP => 0);
......
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