diff options
Diffstat (limited to 'knetworkconf/backends/file.pl.in')
-rw-r--r-- | knetworkconf/backends/file.pl.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/knetworkconf/backends/file.pl.in b/knetworkconf/backends/file.pl.in index f147474..ac73301 100644 --- a/knetworkconf/backends/file.pl.in +++ b/knetworkconf/backends/file.pl.in @@ -456,11 +456,11 @@ sub gst_file_open_write_compressed sub gst_file_run_pipe { - my ($cmd, $mode_tqmask, $stderr) = @_; + my ($cmd, $mode_mask, $stderr) = @_; my ($command); local *PIPE; - $mode_tqmask = $GST_FILE_READ if $mode_tqmask eq undef; + $mode_mask = $GST_FILE_READ if $mode_mask eq undef; &gst_report_enter (); @@ -480,8 +480,8 @@ sub gst_file_run_pipe return undef; } - $command .= " |" if $mode_tqmask & $GST_FILE_READ; - $command = "| $command > /dev/null" if $mode_tqmask & $GST_FILE_WRITE; + $command .= " |" if $mode_mask & $GST_FILE_READ; + $command = "| $command > /dev/null" if $mode_mask & $GST_FILE_WRITE; open PIPE, $command; &gst_report ("file_run_pipe_success", $command); |