summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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