Open rickysarraf opened 7 months ago
same,
I have a configuration where I change the password to test if fdm failure. My surprise when I see FDM failing, but the exit code is zero
root@host::~# sudo -u fdm /usr/bin/fdm -f /etc/fdm.conf fetch -q
emailtest@mydomain.org: unexpected data: 2 NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)
emailtest@mydomain.org: fetching error. aborted
root@host::~# echo $?
0
FDM is not processing the log failure, is it possible to sue the correct exit code ?
I looked for the obvious answers but couldn't find one. Neither does the man page says anything about error.
Version of fdm installed is:
When run,
fdm
never errors out with an error exit code.