projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a15f4fd
)
Workaround kernel oddities.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 2 Mar 2008 14:04:29 +0000 (14:04 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 2 Mar 2008 14:04:29 +0000 (14:04 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2698
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/vserver-build.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver-build.functions
b/scripts/vserver-build.functions
index
2f22192
..
f615cad
100644
(file)
--- a/
scripts/vserver-build.functions
+++ b/
scripts/vserver-build.functions
@@
-264,7
+264,7
@@
function base.setSuccess
function startSleepingGuest
{
local guest="$1"
- local timeout="$2"
+ local timeout="${2:-15}"
$_VSERVER "$guest" start --rescue --rescue-init bash -c "
exec > /dev/null
exec 2> /dev/null
@@
-278,5
+278,5
@@
function startSleepingGuest
function stopSleepingGuest
{
local guest="$1"
- $_VKILL --xid "$guest" -s INT -- 1
+ $_VKILL --xid "$guest" -s INT -- 0
}