bin/pwn_bdba_groups in pwn-0.4.764 vs bin/pwn_bdba_groups in pwn-0.4.765

- old
+ new

@@ -57,10 +57,10 @@ group_arr = groups_resp[:groups].select { |g| g[:name] == list_group_name } group_arr_sorted = group_arr.sort_by { |g| g[:id] } group = group_arr_sorted.last - raise "ERROR: BDBA Group ID Not Found for: #{list_group_name}" if group.nil? || group.empty? + raise "ERROR: BDBA Group ID Not Found for: #{list_group_name}" if group.empty? parent_id = group[:id] if list_group_name group_id = parent_id