1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-15 18:50:12 +03:00
Anita Zhang c90229d81d [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 1209ef94bd09bdc67a7b51f084910a5982f2f010)
(cherry picked from commit cfced59a4bd88e7d77ecf9ed40a22ec215356a83)
2020-02-05 17:22:05 +01:00
..
2018-11-26 18:09:01 +01:00