summaryrefslogtreecommitdiffstats
path: root/perl-install/drakcluster/server_conf_drakx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/drakcluster/server_conf_drakx.pm')
-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*)";/);
}