Skip to content

Commit

Permalink
InABox: avoid @{undef} in box setup
Browse files Browse the repository at this point in the history
If the user has setup-by-default on, there will not be a /setup switch
so the value of /setup will be undef, not [].
  • Loading branch information
rjbs committed Oct 25, 2023
1 parent 66d23e8 commit 4f0b3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Synergy/Reactor/InABox.pm
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ async sub handle_create ($self, $event, $switches) {
$event,
$droplet,
$key_file,
$switches->{setup},
$switches->{setup} // [], # might be undef if setting up by default
);
}

Expand Down

0 comments on commit 4f0b3cd

Please sign in to comment.