expr sollte nicht verwendet werden

This commit is contained in:
qbi 2021-06-13 15:27:01 +02:00
parent c8c54559bd
commit 0fbd1ae469

View file

@ -566,7 +566,7 @@ make_invoice() {
print_error "$(grep "Error" "$logfile")"
else
print_info "Rechnung $filename erfolgreich erstellt"
ANZAHL_RECHNUNGEN=$(expr $ANZAHL_RECHNUNGEN + 1)
ANZAHL_RECHNUNGEN=$(( ANZAHL_RECHNUNGEN + 1 ))
fi
if [ -x "$RUBBER_BIN" ]; then