1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

Fixing wrong condition, write kernel_cms when it is _not_ empty.

git-svn-id: http://svn.opennebula.org/one/trunk@246 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco 2008-11-18 14:21:25 +00:00
parent fdf1f01faa
commit 1355d8fc07

View File

@ -217,7 +217,7 @@ int LibVirtDriver::deployment_description(
{
file << "\t\t<cmdline>root=/dev/" << root;
if (kernel_cmd.empty())
if (!kernel_cmd.empty())
{
file << " " << kernel_cmd;
}