send-email: accept absolute path even on Windows

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Erik Faye-Lund authored and Erik Faye-Lund committed 2010-05-20 21:40:50 +02:00
1 parent c1c7c77ab9
commit 33b2e81f84
1 file changed
+1 -1
+1 -1
View File
@@ -984,7 +984,7 @@ X-Mailer: git-send-email $gitversion
if ($dry_run) {
# We don't want to send the email.
} elsif ($smtp_server =~ m#^/#) {
} elsif ($smtp_server =~ m#^/# || $smtp_server =~ m#[a-zA-Z]\:#) {
my $pid = open my $sm, '|-';
defined $pid or die $!;
if (!$pid) {