diff options
Diffstat (limited to 'knetworkconf/backends/file.pl.in')
-rw-r--r-- | knetworkconf/backends/file.pl.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knetworkconf/backends/file.pl.in b/knetworkconf/backends/file.pl.in index ac73301..35d17cb 100644 --- a/knetworkconf/backends/file.pl.in +++ b/knetworkconf/backends/file.pl.in @@ -81,7 +81,7 @@ sub gst_file_get_data_path } -# Give a command, and it will put in C locale, some sane PATH values and find +# Give a command, and it will put in C locale, some sane PATH values and tqfind # the program to run in the path. Redirects stderr to null. sub get_cmd_path { @@ -456,11 +456,11 @@ sub gst_file_open_write_compressed sub gst_file_run_pipe { - my ($cmd, $mode_mask, $stderr) = @_; + my ($cmd, $mode_tqmask, $stderr) = @_; my ($command); local *PIPE; - $mode_mask = $GST_FILE_READ if $mode_mask eq undef; + $mode_tqmask = $GST_FILE_READ if $mode_tqmask eq undef; &gst_report_enter (); @@ -480,8 +480,8 @@ sub gst_file_run_pipe return undef; } - $command .= " |" if $mode_mask & $GST_FILE_READ; - $command = "| $command > /dev/null" if $mode_mask & $GST_FILE_WRITE; + $command .= " |" if $mode_tqmask & $GST_FILE_READ; + $command = "| $command > /dev/null" if $mode_tqmask & $GST_FILE_WRITE; open PIPE, $command; &gst_report ("file_run_pipe_success", $command); |