mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix error message to not always say 'bad file descriptor'
This commit is contained in:
@@ -8230,10 +8230,10 @@ else {
|
||||
else {
|
||||
$main::open_temphandles{$fh} = $file;
|
||||
}
|
||||
binmode($fh);
|
||||
if (!$ex && !$noerror) {
|
||||
&error(&text("efileopen", $file, $!));
|
||||
}
|
||||
binmode($fh);
|
||||
return $ex;
|
||||
}
|
||||
elsif ($file =~ /^>\s*(([a-zA-Z]:)?\/.*)$/ && $notemp) {
|
||||
|
||||
Reference in New Issue
Block a user