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 if [ $rc -ne 0 ]; then
echo "Backup of $i failed with exit code $rc:" echo "Backup of $i failed with exit code $rc:"
echo "$output" echo "$output"
exit_code="$rc" exit_code=1;
else else
echo "Backup of $i successful:" echo "Backup of $i successful:"
echo "$output" echo "$output"