# Check that we actually have at least one command in the directive
unless ($#$ops > 0) {
if (1 == scalar @$packet) {
- throw directive_syntax => trace => $ops,
+ throw directive_syntax => trace => [],
summary => 'nothing to do - no commands in directive file';
} else {
# Provide a different message if this looks like an upload packet.
- throw directive_syntax => trace => $ops,
+ throw directive_syntax => trace => [],
summary => "no filename element in $stem.directive.asc."
.' Upgrade to the latest version! '
.'See http://www.gnu.org/prep/maintain/maintain.html';