diff options
author | unknown <serg@serg.mysql.com> | 2002-11-08 22:45:31 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-11-08 22:45:31 +0100 |
commit | 36f5ff834d62723e5a0e50b52ccb6cef157a276f (patch) | |
tree | bdc630d6ab1149907dddd50d80e96fd40a13b958 /scripts | |
parent | 93b95819daba16ce6ac2d915f34bae3c51be939b (diff) | |
download | mariadb-git-36f5ff834d62723e5a0e50b52ccb6cef157a276f.tar.gz |
fixed test for "root", on some installations / is mounted read-only
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqld_safe.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |