Skip to content

Commit a4f0309

Browse files
authored
Merge pull request #18 from aaronlippold/patch-1
small typo in the packages method
2 parents c40e020 + 8620039 commit a4f0309

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/linux_updates.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def uptodate?
5555
def packages
5656
return [] if @update_mgmt.nil?
5757
p = @update_mgmt.packages
58-
return [] if p.nil? || u.empty?
58+
return [] if p.nil? || p.empty?
5959
p['installed']
6060
end
6161

0 commit comments

Comments
 (0)