summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
Diffstat (limited to 'vest')
-rwxr-xr-xvest/parallelize.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index 2fa318de..9d3f61c4 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -54,6 +54,7 @@ my $shell_escape_in_quote=qr.[\\"\$`!].;
sub escape_shell {
my ($arg)=@_;
return undef unless defined $arg;
+ return '""' unless $arg;
if ($arg =~ /$is_shell_special/) {
$arg =~ s/($shell_escape_in_quote)/\\$1/g;
return "\"$arg\"";