summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-06-13 11:03:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-06-13 11:03:00 +0000
commitfe8b559bc5ffb0235dddaa27c3a8a937ac77cac2 (patch)
tree077346e0b93192a02dd9a0ef9681502f0ec326a0
parente6fbfc1f89bb968974cfc55945d16c3b31a91136 (diff)
downloaddrakx-fe8b559bc5ffb0235dddaa27c3a8a937ac77cac2.tar
drakx-fe8b559bc5ffb0235dddaa27c3a8a937ac77cac2.tar.gz
drakx-fe8b559bc5ffb0235dddaa27c3a8a937ac77cac2.tar.bz2
drakx-fe8b559bc5ffb0235dddaa27c3a8a937ac77cac2.tar.xz
drakx-fe8b559bc5ffb0235dddaa27c3a8a937ac77cac2.zip
fix typo (missing $::prefix when calling run_program::rooted)
-rw-r--r--perl-install/drakcluster/server_conf_drakx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/drakcluster/server_conf_drakx.pm b/perl-install/drakcluster/server_conf_drakx.pm
index e4713905b..c2d6a7acc 100644
--- a/perl-install/drakcluster/server_conf_drakx.pm
+++ b/perl-install/drakcluster/server_conf_drakx.pm
@@ -13,7 +13,7 @@ sub drakcluster::server_conf::N { &_ }
sub N { &_ }
sub generate_rndc() {
- run_program::rooted('rndc-confgen', '-a');
+ run_program::rooted($::prefix, 'rndc-confgen', '-a');
first(cat_("$::prefix/etc/rndc.key") =~ /secret "(\S*)";/);
}