Skip to content

Commit

Permalink
Remove redundant failure check (Getopt::Std doesn't set $@)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjensen committed Nov 2, 2017
1 parent 9bba0b5 commit c2c1b53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/localize.PL
Expand Up @@ -3,7 +3,7 @@
#
# Interchange localizer
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 2002-2017 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -88,7 +88,6 @@ EOF

getopts('cd:l:Mm:nostu:') or die "$USAGE\n";

die "$USAGE\n" if $@;
die "$USAGE\n" unless $opt_l;
die "$USAGE\n" if $opt_d && $opt_l eq $opt_d;

Expand Down Expand Up @@ -381,7 +380,7 @@ localize -- produce Interchange localization file from set of pages
=head1 VERSION
2007-08-09
2017-11-01
=head1 SYNOPSIS
Expand Down

0 comments on commit c2c1b53

Please sign in to comment.