Skip to content

Commit ab6e1e6

Browse files
committed
Problem: podman printing is a bit off
Solution: ensure we don't strip important characters off
1 parent da86c64 commit ab6e1e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pgpm/podman.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ module Pgpm
88
module Podman
99
def self.run(command, unhandled_reboot_mitigation: true, print_stdout: true)
1010
result = TTY::Command.new(printer: :null).run("podman #{command}", pty: true) do |out, err|
11-
$stderr.print(out.strip) if print_stdout
12-
warn err
11+
$stderr.print(out) if print_stdout
12+
warn err if err
1313
end
1414

1515
result.out

0 commit comments

Comments
 (0)