mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-27 12:04:24 +00:00
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:
parent
b197dbdae4
commit
5f572e0596
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue