mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Corrected the PID_FILE_PATT manipulation
This commit is contained in:
parent
587ae13b24
commit
5b32f1b6fd
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
||||||
%global mysqld_group mysql
|
%global mysqld_group mysql
|
||||||
%global mysqldatadir /var/lib/mysql
|
%global mysqldatadir /var/lib/mysql
|
||||||
|
|
||||||
%global release 2
|
%global release 1
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -636,7 +636,7 @@ then
|
||||||
fi
|
fi
|
||||||
if [ -z "$PID_FILE_PATT" ]
|
if [ -z "$PID_FILE_PATT" ]
|
||||||
then
|
then
|
||||||
PID_FILE_PATT=`ls $mysql_datadir/*.pid 2>/dev/null | grep -v "mysqld_safe.pid"`
|
PID_FILE_PATT=`ls "$mysql_datadir/*.pid" 2> /dev/null | grep -v "mysqld_safe.pid"`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if we can safely upgrade. An upgrade is only safe if it's from one
|
# Check if we can safely upgrade. An upgrade is only safe if it's from one
|
||||||
|
|
Loading…
Reference in a new issue