From c0e7d37641691ac97669ee5168e4dc7dbdc5c5d1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 24 Oct 2008 13:13:13 +0000 Subject: [PATCH] ebl Fix bad quote git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7893 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/updatedb/update_mysql_tables_7_to_8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/updatedb/update_mysql_tables_7_to_8 b/bacula/updatedb/update_mysql_tables_7_to_8 index a98729474f..8cd6ed1af5 100755 --- a/bacula/updatedb/update_mysql_tables_7_to_8 +++ b/bacula/updatedb/update_mysql_tables_7_to_8 @@ -9,7 +9,7 @@ echo "this script may take several minutes to run." echo " " bindir=/usr/bin -DB_VER="$bindir/mysql $* bacula -e 'select * from Version;'|tail -n 1 2>/dev/null" +DB_VER=`$bindir/mysql $* bacula -e 'select * from Version;'|tail -n 1 2>/dev/null` if [ -z "$DB_VER" ]; then echo "Sorry, I can't seem to locate a bacula database." exit 1 -- 2.39.5