Modify file restore to rectify tar issue

Fixed typo in run_pipeline! function
  -> Open3.pieline to Open3.pipeline
This commit is contained in:
Jason Colyer 2019-01-16 11:11:58 -06:00
parent f88b464bf3
commit c74820db07
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ module Backup
def run_pipeline!(cmd_list, options = {})
err_r, err_w = IO.pipe
options[:err] = err_w
status = Open3.pieline(*cmd_list, options)
status = Open3.pipeline(*cmd_list, options)
err_w.close
return if status.compact.all?(&:success?)