summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-29 16:17:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-29 16:17:27 +0000
commit7e9373f483bef385a19971641eb0cc69a1f5c503 (patch)
tree42e68ee3d564ba242571ecaf396745aab0b00fc0
parentee90b9655e763eafdb42e8df1212091cda1bea54 (diff)
downloaddrakx-7e9373f483bef385a19971641eb0cc69a1f5c503.tar
drakx-7e9373f483bef385a19971641eb0cc69a1f5c503.tar.gz
drakx-7e9373f483bef385a19971641eb0cc69a1f5c503.tar.bz2
drakx-7e9373f483bef385a19971641eb0cc69a1f5c503.tar.xz
drakx-7e9373f483bef385a19971641eb0cc69a1f5c503.zip
try harder to have "xfs" running
-rw-r--r--perl-install/Xconfig/test.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/test.pm b/perl-install/Xconfig/test.pm
index 4c011d175..3c70e7dab 100644
--- a/perl-install/Xconfig/test.pm
+++ b/perl-install/Xconfig/test.pm
@@ -38,7 +38,7 @@ sub test {
}
#- ensure xfs is running
- fuzzy_pidofs(qr/\bxfs\b/) or run_program::rooted($::prefix, "/etc/rc.d/init.d/xfs", "start");
+ fuzzy_pidofs(qr/\bxfs\b/) or do { run_program::rooted($::prefix, "/etc/rc.d/init.d/xfs", $_) foreach 'stop', 'start' };
fuzzy_pidofs(qr/\bxfs\b/) or die "xfs is not running";
my $f = $::testing ? $tmpconfig : "/etc/X11/XF86Config.test";