From: markus schnalke Date: Thu, 12 Feb 2015 06:40:50 +0000 (+0100) Subject: sbr/execprog.c: Fix the return value X-Git-Tag: mmh-0.2-RC1~61 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=556440fbe435fee96348ca56e44c015149e5f7da;hp=556440fbe435fee96348ca56e44c015149e5f7da;p=mmh sbr/execprog.c: Fix the return value Use pidXwait(), which invokes pidstatus(), here for error reporting. This eases the use of execprog() because we don't have to call it there everytime. However, it might be unwanted to put the error printing stuff into execprog() because we might have an invokation of execprog() that want's to deal with errors itself in a different way. If this would be the case, then we likely should change pidXwait() to pidwait() and call pidstatus(execprog()). ---