Skip to content

Commit 2e7c296

Browse files
committed
Followup fix to enable SysV scripts work under systemd in SLES12
1 parent 578b18b commit 2e7c296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support-files/mysql.server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ datadir_set=
102102
#
103103
# Use LSB init script functions for printing messages, if possible
104104
#
105-
export SYSTEMD_NO_WRAP=1
105+
[ "x$(uname -s)" = "xLinux" ] && export SYSTEMD_NO_WRAP=1
106106
lsb_functions="/lib/lsb/init-functions"
107107
if test -f $lsb_functions ; then
108108
. $lsb_functions

0 commit comments

Comments
 (0)