* Use 'or'.

This commit is contained in:
Eelco Dolstra 2013-07-15 12:28:45 +02:00
parent 2cf1cbf2fe
commit 59aca26975

View File

@ -291,7 +291,7 @@ rec {
args = ["-e" (vmRunCommand qemuCommandLinux)];
origArgs = attrs.args;
origBuilder = attrs.builder;
QEMU_OPTS = "-m ${toString (if attrs ? memSize then attrs.memSize else 512)}";
QEMU_OPTS = "-m ${toString (attrs.memSize or 512)}";
});