From 36f5ff834d62723e5a0e50b52ccb6cef157a276f Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 8 Nov 2002 22:45:31 +0100 Subject: [PATCH] fixed test for "root", on some installations / is mounted read-only --- scripts/mysqld_safe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index f51eff6585f..2cc11bb0979 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -204,7 +204,7 @@ else fi USER_OPTION="" -if test -w / +if test "x$USER" = "xroot" then if test "$user" != "root" -o $SET_USER = 1 then