Skip to content

Commit

Permalink
PS-5974 improve OS detection in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vorsel committed Oct 14, 2019
1 parent 4646cd0 commit 4059184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ps_mysqld_helper.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -f /etc/redhat-release ]
if [ -f /etc/redhat-release -o -f /etc/system-release ]
then
SYSTEMD_ENV_FILE="/etc/sysconfig/mysql"
else
Expand Down

0 comments on commit 4059184

Please sign in to comment.