• Ozan Tezcan's avatar
    Use exit code 1 on error in redis-cli (#10468) · 7da1cc3e
    Ozan Tezcan authored
    On error, redis-cli was returning `REDIS_ERR` on some cases by mistake. `REDIS_ERR` is `-1` which becomes `255` as exit code. This commit changes it and returns `1` on errors to be consistent.
    7da1cc3e
redis-cli.c 338 KB