cvs commit: BLFS/BOOK/content/databases/mysql mysql-config.xml

igor at linuxfromscratch.org igor at linuxfromscratch.org
Sun Jan 11 11:14:35 PST 2004


igor        04/01/11 12:14:34

  Modified:    BOOK/content/databases/mysql mysql-config.xml
  Log:
  applied Alexander's consistency suggestions for mysql init script
  
  Revision  Changes    Path
  1.16      +2 -3      BLFS/BOOK/content/databases/mysql/mysql-config.xml
  
  Index: mysql-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/content/databases/mysql/mysql-config.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mysql-config.xml	10 Jan 2004 16:03:56 -0000	1.15
  +++ mysql-config.xml	11 Jan 2004 19:14:34 -0000	1.16
  @@ -82,7 +82,7 @@
                       if /bin/ps p `cat $pid_file` | grep mysqld >/dev/null
                       then
                           print_status warning running
  -                        exit 1
  +                        exit 0
                       else
                           rm -f $pid_file
                           if test -f $pid_file
  @@ -93,8 +93,7 @@
                   fi
                   if [ $failure = 1 ]
                   then
  -                    (exit $failure)
  -                    evaluate_retval
  +                    print_status failure
                   else
                       /usr/bin/mysqld_safe --user=mysql 2>&1 >/dev/null &
                       evaluate_retval
  
  
  



More information about the blfs-book mailing list