Skip to content

Commit

Permalink
updated read func
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Jan 15, 2024
1 parent fa38e08 commit bd31835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnibus/resources/chef-workstation/rpm/signing.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ puts rpm_cmd
puts "------rpm_cmd is:-----#{rpm_cmd}"
PTY.spawn(rpm_cmd) do |r, w, pid|
puts "r is -------#{r}"
prompt = r.read(19)
prompt = r.read()

# match the expected prompt exactly, since that's the only way we know if
# something went wrong.
Expand Down

0 comments on commit bd31835

Please sign in to comment.