Join the community today
Register Now

Stable Branch fix cecho exit status when TERM is unset in 132.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 14, 2026 at 9:34 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,407
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix cecho exit status when TERM is unset in 132.00stable

    cecho ended with $Reset (tput sgr0), so it returned tput's exit status.
    With no TERM set (cron, detached or non-interactive centmin-cli.sh runs),
    tput exits 2, and callers that act on a function's status treated a
    successful step as a failure.

    Changes:
    - cecho in centmin.sh, centmin-cli.sh, inc/axelsetup.inc and
    inc/cpcheck.inc sends tput errors to /dev/null and always returns 0

    Continue reading...


    132.00stable branch