diff --git a/autoconf/configure.in b/autoconf/configure.in index f03819fa965..6f96daea424 100644 --- a/autoconf/configure.in +++ b/autoconf/configure.in @@ -3129,7 +3129,7 @@ if test "x${with_jansson_directory}" != "xyes" && test x"${with_jansson_director else if test x$with_jansson_directory = xyes || test x"${with_jansson_directory}" = "x" && $PKGCONFIG jansson; then have_jansson=yes - JANSSON_INC=`$PKGCONFIG --cflags janson` + JANSSON_INC=`$PKGCONFIG --cflags jansson` JANSSON_LIBS=`$PKGCONFIG --libs jansson` fi fi diff --git a/configure b/configure index 1ced71b0aa9..d2c1d28ad82 100755 --- a/configure +++ b/configure @@ -30684,7 +30684,7 @@ if test "x${with_jansson_directory}" != "xyes" && test x"${with_jansson_director else if test x$with_jansson_directory = xyes || test x"${with_jansson_directory}" = "x" && $PKGCONFIG jansson; then have_jansson=yes - JANSSON_INC=`$PKGCONFIG --cflags janson` + JANSSON_INC=`$PKGCONFIG --cflags jansson` JANSSON_LIBS=`$PKGCONFIG --libs jansson` fi fi diff --git a/src/cats/update_bareos_tables.in b/src/cats/update_bareos_tables.in index bb9255cf156..0d5a95f1d03 100644 --- a/src/cats/update_bareos_tables.in +++ b/src/cats/update_bareos_tables.in @@ -170,7 +170,7 @@ do if [ ${retval} != 0 ]; then echo "Failed to upgrade database schema from version ${start_version} to ${end_version}" - break; + exit ${retval} fi done