validate-config returns non-zero, but does not print anything, strange interaction with dry-run
[root@grob grobrepo-lenny]# grob /home/grob/lenny-grob-config.yml validate-config; echo "ret=$?"
ret=1
[root@grob grobrepo-lenny]# grob -n /home/grob/lenny-grob-config.yml validate-config; echo "ret=$?"
grob: quitting: mandatory entry in config file not found: grob_repo_path
ret=1
[root@grob grobrepo-lenny]# grob -V
grob version 0.1.15.1
[root@grob grobrepo-lenny]#
- note how the first command returns 1 even though it does not print any error
- note how the second command prints an error, even though the config file contains the specified configuration option