send-email: accept absolute path even on Windows
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
1 parent
c1c7c77ab9
commit
33b2e81f84
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user