wmaker: improve error messages when trying to start the helper
commit421e9f942ce8bf8c1095200998cf3b4f3bc5c060
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 15 Nov 2014 18:40:43 +0000 (15 19:40 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:43:37 +0000 (23 22:43 +0000)
tree48a78ae0e49dfef661db9f5026ab85b1158ce068
parent39357e4f90414704d7c5d76ee0832c004b499dec
wmaker: improve error messages when trying to start the helper

Try to provide better messages to understand what went wrong, including
more information, and made them translatable;

Changed the call to 'dup' into 'dup2' which has a safer behaviour because
we can specify the target descriptor we want;

Removed a few check for the 'close()' because in these cases we do not
really care if they fail (we can't do anything about it and it just adds
noise in the logs).

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
src/misc.c