summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/finish-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index c3d592faa..abc40db05 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -24,7 +24,8 @@ network::network::read_net_conf($net);
$::isWizard = 1;
my $in = 'interactive'->vnew;
-$in->{no_Window_Manager} = !any::running_window_manager();
+my $wm = any::running_window_manager();
+$in->{no_Window_Manager} = !$wm;
sub get_conf {
my ($name) = @_;