summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorlenz@mysql.com <>2002-12-13 09:56:02 +0100
committerlenz@mysql.com <>2002-12-13 09:56:02 +0100
commitbfd15dd6cabfb720ad71627fd2b2d0978cb7aa3e (patch)
treefc818f6de6112ab8c78134dfea6519e0c6e30766 /scripts
parentcb2220f1dcb4ade212f76a7244f8f48ff08d0a51 (diff)
downloadmariadb-git-bfd15dd6cabfb720ad71627fd2b2d0978cb7aa3e.tar.gz
- added missing "test" to $NOHUP_NICENESS test (thanks to Nick Gaugler for
spotting and reporting this)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/safe_mysqld.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh
index 96568bd5d19..c2b6b8cd8b7 100644
--- a/scripts/safe_mysqld.sh
+++ b/scripts/safe_mysqld.sh
@@ -159,7 +159,7 @@ then
NOHUP_NICENESS=`nohup nice 2>&1`
if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo > /dev/null 2>&1
then
- if $NOHUP_NICENESS -gt 0
+ if test $NOHUP_NICENESS -gt 0
then
$NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
else