aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsoxdial1
1 files changed, 1 insertions, 0 deletions
diff --git a/soxdial b/soxdial
index 7228483..924c958 100755
--- a/soxdial
+++ b/soxdial
@@ -472,6 +472,7 @@ for ($argc = 0; $argc < @ARGV; $argc++) {
$noexec = 1;
} elsif(/^--?o(?:output)?$/) {
$output = $ARGV[++$argc];
+ die "$SELF: missing argument for --output.\n" unless defined $output;
warn "$SELF: output set to '$output'\n" if $verbose;
} elsif(/^--?b(?:its)?$/) {
if(@sox_subcmds) {