Displaying 2 results from an estimated 2 matches for "log_process_msg".
2015 Mar 26
3
SSL only working in DEBUG mode
2015-03-26 9:03 GMT+01:00 Arnaud Quette <arnaud.quette at gmail.com>:
> Hey mister M'
>
> A first huge thanks for taking care of this, and so late in the night. I
> know that it's not easy...
>
> (sent from my S3... please excuse my brevity)
> Le 25 mars 2015 18:49, "Emilien Kia" <kiae.dev at gmail.com> a ?crit :
>
> >
> >
>
2015 Mar 29
0
SSL only working in DEBUG mode
...-daemon -S -p $upsd_pid -x $upsd \
-- $UPSD_OPTIONS >/dev/null 2>&1 &&
log_progress_msg "upsd" || log_progress_msg "(upsd failed)"
and obviously, a backslash is missing on the second line! (line 83 on the
real script) So even if it fails, the next command (log_process_msg) will
always start as if the previous command returned 0 (OK). This script always
write "upsd" after starting instead of the right text, depending on the
correct execution of $upsd!
In normal conditions, this construction shouldn't work. Try "ping localhost
&&" for...