Fix shellcheck

This commit is contained in:
Torjus Håkestad 2024-06-02 23:52:27 +02:00
parent ff50a9b4a1
commit fd653ad1e7

View File

@ -18,7 +18,7 @@ let
if [ $rc -ne 0 ]; then
echo "Backup of $i failed with exit code $rc:"
echo "$output"
exit_code="$rc"
exit_code=1;
else
echo "Backup of $i successful:"
echo "$output"