Commit 461ec4cf authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Ug! Did not stick in the Use statement!

parent f9c9f14e
...@@ -9,7 +9,6 @@ sub usage() ...@@ -9,7 +9,6 @@ sub usage()
print STDOUT "Usage: console_setup node [node ...]\n"; print STDOUT "Usage: console_setup node [node ...]\n";
exit(-1); exit(-1);
} }
my $optlist = "";
# #
# Configure variables # Configure variables
...@@ -39,10 +38,6 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; ...@@ -39,10 +38,6 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
# Parse command arguments. Once we return from getopts, all that should # Parse command arguments. Once we return from getopts, all that should
# left are the required arguments. # left are the required arguments.
# #
%options = ();
if (! getopts($optlist, \%options)) {
usage();
}
if (@ARGV == 0) { if (@ARGV == 0) {
usage(); usage();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment