diff --git a/openstreetmap-tiles-update-expire b/openstreetmap-tiles-update-expire index b4694b6..3f42e84 100644 --- a/openstreetmap-tiles-update-expire +++ b/openstreetmap-tiles-update-expire @@ -150,7 +150,7 @@ fi if [ -f $TRIM_POLY_FILE ] ; then m_ok "filtering diff" - /var/lib/mod_tile/data.poly + if ! $TRIM_BIN $TRIM_OPTIONS $TRIM_REGION_OPTIONS -z $CHANGE_FILE $CHANGE_FILE 1>&2 2>> "$RUNLOG"; then m_error "Trim_osc error" fi