Skip to content
Commit 2c7fb879 authored by Tikhomirov Pavel's avatar Tikhomirov Pavel Committed by Pavel Emelyanov
Browse files

chdir: need to check return value



otherwise it won't compile:

util.c: In function ‘cr_daemon’:
util.c:594:8: error: ignoring return value of ‘chdir’, declared
with attribute warn_unused_result [-Werror=unused-result]
   chdir("/");
        ^

Signed-off-by: default avatarTikhomirov Pavel <snorcht@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d8071ffd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment