diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-11-04 10:27:19 -0600 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-11-04 10:27:19 -0600 |
commit | f32a8fb3fbab6ea530335e4437632c66ace06d8b (patch) | |
tree | c15f0b613a3b2df6f73259ac20a0107b55573f9e /SBO-Lib/lib | |
parent | 0513f8c31e01f9696c11babcaf44c55a0fe9199c (diff) | |
download | sbotools2-f32a8fb3fbab6ea530335e4437632c66ace06d8b.tar.xz |
fix to last fix
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index b34ba8f..e7c8424 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -243,7 +243,7 @@ sub get_sbo_location { seek $fh, 0, 0; } close $fh; - return %locations > 0 ? %locations : undef; + return keys %locations > 0 ? %locations : undef; } # pull the sbo name from a $location: $config{SBO_HOME}/system/wine, etc. |