diff --git a/rechnung.sh b/rechnung.sh index 7564ddb..0aedd56 100755 --- a/rechnung.sh +++ b/rechnung.sh @@ -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