diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-09 14:02:09 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-11 16:52:48 -0400 |
commit | 348c68f6c1f997d816ccc5fbdc14313dffca42fa (patch) | |
tree | 3c030e95f0670647fc003e835188b979b732d3c2 | |
parent | 453ac23ab750336646a4714c6a1ec7df58f2d239 (diff) | |
download | soxdial-348c68f6c1f997d816ccc5fbdc14313dffca42fa.tar.gz |
soxdial: check -o/--output argument.
-rwxr-xr-x | soxdial | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |