diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Config.pm | 2 |
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 { }; }; |