Modify file restore to rectify tar issue
Fixed typo in run_pipeline! function -> Open3.pieline to Open3.pipeline
This commit is contained in:
parent
f88b464bf3
commit
c74820db07
|
@ -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?)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue