Commit 84336ab0 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

The call from suexec appears to turn extra spaces at the end of the
command line, into an extra argument. Ick.
parent 89ab38d9
......@@ -67,6 +67,7 @@ my $datelimit;
my $startrecord;
my $ip;
my $mac;
my @nodes = ();
#
# Sort stuff. sortby value should correspond to record field format:
......@@ -175,7 +176,8 @@ if (defined($options{"v"})) {
if (!$showall && @ARGV == 0 && !(defined($ip) || defined($mac))) {
usage();
}
my @nodes = @ARGV;
@nodes = @ARGV
if (! (defined($ip) || defined($mac)));
if (!$list && !$summary) {
$list = 1;
......
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