Revision 0d98103f
Added by Benoît PECCATTE almost 7 years ago
share/commands/agent-update | ||
---|---|---|
|
||
if [ $? -eq 0 ]; then
|
||
[ "$QUIET" = false ] && printf "${GREEN}ok${NORMAL}: Rudder agent promises were updated.\n"
|
||
exit 0
|
||
else
|
||
printf "${RED}error${NORMAL}: Rudder agent promises could not be updated.\n" 1>&2
|
||
exit 1
|
Also available in: Unified diff
Fixes #11047: rudder agent update -q bad exit code