Open brianthelion opened 5 years ago
@brianthelion Thanks for the heads up, the PR https://github.com/saltstack/salt/pull/48361 sorted out salt/salt-call error messaging but in the work it appears that salt-key was overlooked. With a simple master and minion on the same host.
root@david-VirtualBox:~# salt-key -a doesnot_exist key The key glob 'doesnot_exist' does not match any unaccepted keys. root@david-VirtualBox:~# echo $? 0 root@david-VirtualBox:~#
Shows that clearly an error code should have been set.
Description of Issue
Identical to #18562 and #42468. According to those reports, this is a duplicate of #18510 and should have been corrected in Flourine. That does not appear to be the case.
Setup
Steps to Reproduce Issue
INCORRECT: The above echoes "0" CORRECT: The above echoes something other than "0"
Versions Report