Skip to content

Commit

Permalink
fix: evaluate sqlite3 return code on updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Jun 6, 2017
1 parent a75ee09 commit 8e21618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cats/update_bareos_tables.in
Expand Up @@ -150,7 +150,7 @@ do
case ${db_type} in
sqlite3)
sqlite3 $* ${working_dir}/${db_name}.db < ${temp_sql_schema}
retval=0
retval=$?
;;
mysql)
mysql -D ${db_name} $* < ${temp_sql_schema}
Expand Down

0 comments on commit 8e21618

Please sign in to comment.