Skip to content

Commit 8620039

Browse files
authored
small typo in the packages method
Small typo that breaks the packages method
1 parent c40e020 commit 8620039

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)