Commit 69cc75fd authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to previous revision.

parent 811e2110
......@@ -142,7 +142,8 @@ if ($daemon && TBBackGround($logname)) {
#
# Shortcut for xen shutdown
#
if (GENVNODETYPE() eq "xen" && defined($action) && $action eq "halt") {
if (GENVNODE() &&
GENVNODETYPE() eq "xen" && defined($action) && $action eq "halt") {
my $toolstack = `grep TOOLSTACK /etc/default/xen`;
my $XM = "/usr/sbin/xm";
if ($toolstack =~ /xl$/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment