libcriu: don't use the shell_job option

Signed-off-by: Andrew Vagin <avagin@openvz.org>
Acked-by: Ruslan Kuprieiev <rkuprieiev@cloudlinux.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrew Vagin 2015-05-13 16:18:00 +03:00 committed by Pavel Emelyanov
parent b197dbdae4
commit 5f572e0596
2 changed files with 1 additions and 2 deletions

View file

@ -28,7 +28,7 @@ function run_test {
else
echo "== Test $1"
mkdir wdir/i/$1/
if ! ./$1 wdir/s/cs.sk wdir/i/$1/; then
if ! setsid ./$1 wdir/s/cs.sk wdir/i/$1/ < /dev/null &>> wdir/i/$1/test.log; then
echo "$1: FAIL"
RESULT=1
fi

View file

@ -97,7 +97,6 @@ static int process_exists(void)
printf("--- Try to restore process which pid is already taken by other process\n");
get_base_req();
criu_set_shell_job(true);
criu_set_leave_running(true);
if (criu_dump()) {
fprintf(stderr, "Self-dump failed");