Re: timeout: execvp(2) return is always an error

2021-09-02 Thread Ingo Schwarze
Hi Sebastien, Sebastien Marie wrote on Thu, Sep 02, 2021 at 09:09:43AM +0200: > If execvp(2) returns, it is always an error: there is no need to check > if the return value is -1. Just unconditionally call err(3). > > Comments or OK ? OK schwarze@ Ingo > timeout: execvp(2) should not

timeout: execvp(2) return is always an error

2021-09-02 Thread Sebastien Marie
Hi, If execvp(2) returns, it is always an error: there is no need to check if the return value is -1. Just unconditionally call err(3). Comments or OK ? -- Sebastien Marie timeout: execvp(2) should not return except on error diff 7821223d9093e8d64d2bab7db6b91e28360fdab3