mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-28 12:36:47 +00:00
zdtm: remove error messages, that this directory is exist
Like this: mkdir: cannot create directory ‘/tmp/criu-root.wt2oW0/lib64’: File exists Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
231f88a684
commit
0c2df44daf
1 changed files with 2 additions and 2 deletions
|
|
@ -218,10 +218,10 @@ construct_root()
|
|||
local libdir=$root/lib
|
||||
local libdir2=$root/lib64
|
||||
|
||||
mkdir $root/bin
|
||||
mkdir -p $root/bin
|
||||
cp $ps_path $root/bin
|
||||
|
||||
mkdir $libdir $libdir2
|
||||
mkdir -p $libdir $libdir2
|
||||
for i in `ldd $test_path $ps_path | grep -P '^\s' | awk '{ print $1 }' | grep -v vdso`; do
|
||||
local lib=`basename $i`
|
||||
[ -f $libdir/$lib ] && continue ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue