summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakups4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 6995377c5..26126bc85 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -38,7 +38,7 @@ sub writeconf() {
}
sub read_nut_config() {
- $struct = Libconf::Glueconf::NUT::Ups_conf->new($files{devices})
+ $struct = Libconf::Glueconf::NUT::Ups_conf->new({ filename => $files{devices} })
}
sub readDriversList() {
@@ -273,7 +273,7 @@ my @pages = (
remove => sub {},
},
load => sub {
- $users = Libconf::Glueconf::NUT::Ups_conf->new($files{users});
+ $users = Libconf::Glueconf::NUT::Ups_conf->new({ filename => $files{users} });
map { [ $_ ] } keys %$users;
},
id => "users",