diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-12 09:41:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-12 09:41:04 +0000 |
commit | a6f5badbd4ab6f34b5340a45c7a6557395eddc89 (patch) | |
tree | edf13bbc9ec270f890a31109da9a5f2bf949bdfe /perl-install/Xconfigurator.pm | |
parent | 55597dec8c0060b2dab62c51783b18319bb1eb10 (diff) | |
download | drakx-backup-do-not-use-a6f5badbd4ab6f34b5340a45c7a6557395eddc89.tar drakx-backup-do-not-use-a6f5badbd4ab6f34b5340a45c7a6557395eddc89.tar.gz drakx-backup-do-not-use-a6f5badbd4ab6f34b5340a45c7a6557395eddc89.tar.bz2 drakx-backup-do-not-use-a6f5badbd4ab6f34b5340a45c7a6557395eddc89.tar.xz drakx-backup-do-not-use-a6f5badbd4ab6f34b5340a45c7a6557395eddc89.zip |
no_comment
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index a64e924c5..ff9c39491 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -1126,7 +1126,7 @@ sub main { if ($::isStandalone && $0 =~ /Xdrakres/) { my $found; foreach (@window_managers) { - if (`pidof $_` > 0) { + if (`pidof "$_"` > 0) { if ($in->ask_okcancel('', _("Please relog into %s to activate the changes", ucfirst $_), 1)) { system("kwmcom logout") if /kwm/; system("dcop kdesktop default logout") if /kwin/; @@ -1138,8 +1138,8 @@ sub main { c::setsid(); exec qw(perl -e), q{ my $wm = shift; - for (my $nb = 30; $nb && `pidof $wm` > 0; $nb--) { sleep 1 } - system("killall X") unless `pidof $wm` > 0; + for (my $nb = 30; $nb && `pidof "$wm"` > 0; $nb--) { sleep 1 } + system("killall X") unless `pidof "$wm"` > 0; }, $_; } $found = 1; last; |