Closed mbarnes closed 2 years ago
These command-line options have inverted exit codes:
--build-romlist
--import-romlist
--scrape-art
The C++ bool returned by fe_settings.build_romlist() is passed directly to exit(), which results in an exit code of (1) on success and (0) on failure.
fe_settings.build_romlist()
exit()
This makes using these commands in a script (or in my case an Ansible playbook) more difficult than necessary.
thanks!
These command-line options have inverted exit codes:
--build-romlist
--import-romlist
--scrape-art
The C++ bool returned by
fe_settings.build_romlist()
is passed directly toexit()
, which results in an exit code of (1) on success and (0) on failure.This makes using these commands in a script (or in my case an Ansible playbook) more difficult than necessary.