mirror of
git://github.com/lxc/lxc
synced 2025-08-31 08:19:32 +00:00
criu: __criu_check_feature()
thread-safety: s/exit()/_exit()/g Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -717,13 +717,13 @@ bool __criu_check_feature(uint64_t *features_to_check)
|
||||
* LXC checking only for 'uffd' makes not much sense. */
|
||||
args[3] = "uffd-noncoop";
|
||||
else
|
||||
exit(1);
|
||||
_exit(EXIT_FAILURE);
|
||||
|
||||
null_stdfds();
|
||||
|
||||
execvp("criu", args);
|
||||
SYSERROR("Failed to exec \"criu\"");
|
||||
exit(1);
|
||||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
ret = wait_for_pid(pid);
|
||||
|
Reference in New Issue
Block a user