projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60abfcc
)
Server IDs can be non-numeric
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 5 Oct 2008 05:12:50 +0000
(
05:12
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 5 Oct 2008 05:12:50 +0000
(
05:12
+0000)
servers/servers-lib.pl
patch
|
blob
|
history
diff --git
a/servers/servers-lib.pl
b/servers/servers-lib.pl
index
9db539d
..
8483890
100644
(file)
--- a/
servers/servers-lib.pl
+++ b/
servers/servers-lib.pl
@@
-14,7
+14,7
@@
sub list_servers
local ($f, @rv);
opendir(DIR, $module_config_directory);
while($f = readdir(DIR)) {
- if ($f =~ /^(\
d
+)\.serv$/) {
+ if ($f =~ /^(\
S
+)\.serv$/) {
push(@rv, &get_server($1));
}
}