Skip to content

Commit e6a9956

Browse files
committed
use exit instead of die, so this doesn't look like a compile error
1 parent eb7f807 commit e6a9956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nuvexport/nuv_export/cli.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ package nuv_export::cli;
101101

102102
# Unknown profile?
103103
if ($args{'profile'} && ! defined $rc_args{'profile::'.$args{'profile'}}) {
104-
die "Unknown profile: $args{'profile'}\n";
104+
print STDERR "Unknown profile: $args{'profile'}\n";
105+
exit 1;
105106
}
106107

107108
# Make sure the export_prog exists

0 commit comments

Comments
 (0)