Commit c74820db authored by Jason Colyer's avatar Jason Colyer

Modify file restore to rectify tar issue

Fixed typo in run_pipeline! function
  -> Open3.pieline to Open3.pipeline
parent f88b464b
...@@ -73,7 +73,7 @@ module Backup ...@@ -73,7 +73,7 @@ module Backup
def run_pipeline!(cmd_list, options = {}) def run_pipeline!(cmd_list, options = {})
err_r, err_w = IO.pipe err_r, err_w = IO.pipe
options[:err] = err_w options[:err] = err_w
status = Open3.pieline(*cmd_list, options) status = Open3.pipeline(*cmd_list, options)
err_w.close err_w.close
return if status.compact.all?(&:success?) return if status.compact.all?(&:success?)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment