Displaying 1 result from an estimated 1 matches for "fifofile_input".
2006 Sep 25
1
[Bug 1236] SCP inappropriate truncate error when copying to FIFO file
...ate() has to fail,
since a FIFO cannot be
truncated to the size of the original file. This results in
a reported error at the command line, even though the data actually
copies as commanded.
Example:
------------------------------------------------------
#scp -B -q afile auser at aserver.com:/tmp/fifofile_input
scp: /tmp/fifofile_input: truncate: Invalid argument
----------------------------------------------
This results in the contents of the file 'afile' being copied
into the remote fifo, but the error is reported and
the exit status is also set to 1.
Suggested fix:
One must add a file status...