projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5b4e3
)
Minor fix for Ubuntu 10.10
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 12 Mar 2011 17:57:59 +0000
(09:57 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 12 Mar 2011 17:57:59 +0000
(09:57 -0800)
init/init-lib.pl
patch
|
blob
|
history
diff --git
a/init/init-lib.pl
b/init/init-lib.pl
index
a4642d9
..
ad6dfa6
100755
(executable)
--- a/
init/init-lib.pl
+++ b/
init/init-lib.pl
@@
-354,7
+354,7
@@
local $id = $config{'inittab_id'};
if (open(TAB, $iconfig{'inittab_file'})) {
# Read the inittab file
while(<TAB>) {
- if (/^$id:(\d+):/) { @rv = ( $1 ); }
+ if (/^$id:(\d+):/
&& $1
) { @rv = ( $1 ); }
}
close(TAB);
}