summaryrefslogtreecommitdiff
path: root/usr/src/libpiny/lib/Piny/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Config.pm')
-rw-r--r--usr/src/libpiny/lib/Piny/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Config.pm b/usr/src/libpiny/lib/Piny/Config.pm
index bad63a1..ddc546a 100644
--- a/usr/src/libpiny/lib/Piny/Config.pm
+++ b/usr/src/libpiny/lib/Piny/Config.pm
@@ -58,7 +58,7 @@ sub _build__conf {
if ( -e "/etc/piny.conf" ) {
my $yaml = YAML::Tiny->new;
- return $yaml->read( "/etc/piny.conf" );
+ return $yaml->read( "/etc/piny.conf" )->[0];
} else {
return { };
};