Skip to content

Commit

Permalink
Replace break; with exit.
Browse files Browse the repository at this point in the history
Seems I was thinking to much I was programming C instead of shell.
  • Loading branch information
Marco van Wieringen committed Dec 3, 2015
1 parent f9b08c1 commit fb77502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cats/update_bareos_tables.in
Expand Up @@ -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

Expand Down

0 comments on commit fb77502

Please sign in to comment.