Skip to content
Commit c90229d8 authored by Anita Zhang's avatar Anita Zhang Committed by Zbigniew Jędrzejewski-Szmek
Browse files

[import] fix stdin/stdout pipe behavior in import/export tar/raw

The code existed in machinectl to use stdin/stdout if the path for
import/export tar/raw was empty or dash (-) but a check to
`fd_verify_regular` in importd prevented it from working.

Update the check instead to explicitly check for regular file or
pipe/fifo.

Fixes #14346

(cherry picked from commit 1209ef94)
(cherry picked from commit cfced59a)
parent 39910328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment