aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsoxdial2
1 files changed, 1 insertions, 1 deletions
diff --git a/soxdial b/soxdial
index 7726c8a..519e4dd 100755
--- a/soxdial
+++ b/soxdial
@@ -494,7 +494,7 @@ sub set_dialtone_type {
# final sox command, to which we pipe all the others.
sub make_sox_cmd {
- if($output eq '-') {
+ if($output !~ /\./) {
$output = "-t raw $output";
} else {
# support quotes, spaces, etc in filenames.