Fix bug where -m required a valid backend configuration

This commit is contained in:
Salt 2019-09-26 23:02:47 -05:00
parent 39b66a24f2
commit ffb1099cb7

2
ptgdp
View File

@ -367,7 +367,7 @@ main() {
done
return 1
) || error "Unsupported backend: ${_config[backend]}" 50
if ! backend-validate; then
if [ -z "$_optmachinemode" ] && ! backend-validate; then
errorcode=$?
case $errorcode in
1)