diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-09 14:02:09 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-09 14:02:09 -0400 |
commit | b2dced78f6bd35756195a88aacdfc22e449e0bcc (patch) | |
tree | c5400c48e548aaad688944719bbbd4905747e80e | |
parent | 1891a50c65991b32808f9dff29a254e827fefeb3 (diff) | |
download | misc-scripts-b2dced78f6bd35756195a88aacdfc22e449e0bcc.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) { |