projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba97fba
)
Supress useless error
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 2 Dec 2010 22:31:50 +0000
(14:31 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 2 Dec 2010 22:31:50 +0000
(14:31 -0800)
miniserv.pl
patch
|
blob
|
history
diff --git
a/miniserv.pl
b/miniserv.pl
index
944a5a0
..
9776291
100755
(executable)
--- a/
miniserv.pl
+++ b/
miniserv.pl
@@
-238,7
+238,9
@@
if ($@) {
# Setup SSL if possible and if requested
if (!-r $config{'keyfile'}) {
# Key file doesn't exist!
- print STDERR "SSL key file $config{'keyfile'} does not exist\n";
+ if ($config{'keyfile'}) {
+ print STDERR "SSL key file $config{'keyfile'} does not exist\n";
+ }
$use_ssl = 0;
}
elsif ($config{'certfile'} && !-r $config{'certfile'}) {