mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
13 lines
144 B
Bash
Executable file
13 lines
144 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo $$ > $1.int
|
|
mv $1.int $1
|
|
|
|
if [ "$2" == "--chgrp" ]; then
|
|
grps=( $(groups) )
|
|
newgrp ${grps[2]}
|
|
fi
|
|
|
|
while :; do
|
|
sleep 1
|
|
done
|