summaryrefslogtreecommitdiff
path: root/scripts/safe_mysqld.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/safe_mysqld.sh')
-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 2b625dbdfa3..2272443c972 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
- NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
+ NOHUP_NICENESS="nice -n $NOHUP_NICENESS nohup"
else
NOHUP_NICENESS="nohup"
fi