--- alx-src/trunk/alxconfig-ng/functions/mysqlfunctions 2005/08/18 02:58:15 292 +++ alx-src/trunk/alxconfig-ng/functions/mysqlfunctions 2005/08/18 03:03:25 293 @@ -6,7 +6,7 @@ # # Niels Rogalla # -# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/mysqlfunctions,v 1.5 2005-08-17 22:09:59 niro Exp $ +# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/mysqlfunctions,v 1.6 2005-08-18 03:03:25 niro Exp $ mysql_command(){ @@ -122,7 +122,7 @@ --host="${SQL_HOST}" \ --database="${SQL_DB}" \ --batch \ - --execute="" $> /dev/null && return 0 || \ + --execute="" &> /dev/null && return 0 || \ ( echo -e ${COLRED} echo "Cannot reach a mysql-server at '${SQL_HOST}'."