fix sh/time undefined $last[0] error
[spider.git] / cmd / show / time.pl
index 986320e5108f83fccfa4b650960243849623860a..e5c0ece2fee6b7cb330f94bbf166266382c7730f 100644 (file)
@@ -10,6 +10,8 @@
 my ($self, $line) = @_;
 my @list = split /\s+/, $line;
 
+push @list, $self->call unless @list;
+
 my $l;
 my @out;
 my $t = $main::systime;