Skip to content

Commit

Permalink
Fixing building
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Mar 22, 2022
1 parent 4c2e02e commit 238616f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/parameters/parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ logParameters(const VMParameters* parameters)
VMErrorCode
vm_parameters_ensure_interactive_image_parameter(VMParameters* parameters)
{
const char* interactiveParameter = "--interactive";
VMErrorCode error;

if (parameters->isInteractiveSession)
Expand All @@ -365,6 +364,9 @@ vm_parameters_ensure_interactive_image_parameter(VMParameters* parameters)

#if ALWAYS_INTERACTIVE

const char* interactiveParameter = "--interactive";
const char* headlessParameter = "--headless";

/*
* If the macro ALWAYS_INTERACTIVE is set, we invert the logic of headless / interactive
* This is to mimic the old VM behavior
Expand Down

0 comments on commit 238616f

Please sign in to comment.