Fixes: bug #34463: parallel -S .. --tag --onall ::: date uptime gives uninitialized value.

This commit is contained in:
Ole Tange 2011-10-03 01:37:32 +02:00
parent beef9c13ec
commit a5cd7dc7ee

View file

@ -59,7 +59,7 @@ if($::opt_skip_first_line) {
<$fh>; <$fh>;
} }
my $command; my $command = "";
if(@ARGV) { if(@ARGV) {
if($Global::quoting) { if($Global::quoting) {
$command = shell_quote(@ARGV); $command = shell_quote(@ARGV);
@ -496,7 +496,7 @@ sub get_options_from_array {
sub parse_options { sub parse_options {
# Returns: N/A # Returns: N/A
# Defaults: # Defaults:
$Global::version = 20111002; $Global::version = 20111003;
$Global::progname = 'parallel'; $Global::progname = 'parallel';
$Global::infinity = 2**31; $Global::infinity = 2**31;
$Global::debug = 0; $Global::debug = 0;