safe_mysqld.sh remove stray warning message from nohup nice

configure.in	the & in 2>&1 gets replaced by sed during AC_SUBST
parent f136cb4a
...@@ -341,13 +341,13 @@ AC_PATH_PROG(KILL, kill, kill) ...@@ -341,13 +341,13 @@ AC_PATH_PROG(KILL, kill, kill)
AC_MSG_CHECKING("for kill switches") AC_MSG_CHECKING("for kill switches")
if $ac_cv_path_KILL -0 $$ if $ac_cv_path_KILL -0 $$
then then
CHECK_PID="$ac_cv_path_KILL -0 \$\$PID > /dev/null 2>&1" CHECK_PID="$ac_cv_path_KILL -0 \$\$PID > /dev/null 2> /dev/null"
elif kill -s 0 $$ elif kill -s 0 $$
then then
CHECK_PID="$ac_cv_path_KILL -s 0 \$\$PID > /dev/null 2>&1" CHECK_PID="$ac_cv_path_KILL -s 0 \$\$PID > /dev/null 2> /dev/null"
else else
AC_MSG_WARN([kill -0 to check for pid seems to fail]) AC_MSG_WARN([kill -0 to check for pid seems to fail])
CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2>&1" CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2> /dev/null"
fi fi
AC_SUBST(CHECK_PID) AC_SUBST(CHECK_PID)
AC_MSG_RESULT("$CHECK_PID") AC_MSG_RESULT("$CHECK_PID")
......
...@@ -91,7 +91,7 @@ fi ...@@ -91,7 +91,7 @@ fi
NOHUP_NICENESS="nohup" NOHUP_NICENESS="nohup"
if test -w / if test -w /
then then
NOHUP_NICENESS=`nohup nice` 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 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 --$NOHUP_NICENESS nohup"
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment