-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Closed
Labels
state:help-wantedNo member is currently implementing this changeNo member is currently implementing this change
Milestone
Description
The problem/use-case that the feature addresses
When running flushall from Jenkins CI one would expect that a failing command should fail the job. However, redis-cli returns 0 even if the command is not executed and thus the job is finished as OK.
# redis-cli flushall
NOPERM this user has no permissions to run the 'flushall' command or its subcommand
# echo $?
0
Description of the feature
Any exit code except for 0 is fine.
# redis-cli flushall
NOPERM this user has no permissions to run the 'flushall' command or its subcommand
# echo $?
1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state:help-wantedNo member is currently implementing this changeNo member is currently implementing this change