]>
Commit | Line | Data |
---|---|---|
3d551623 PG |
1 | diff --git a/CHANGELOG b/CHANGELOG |
2 | index 0e9dc51..054d4df 100644 | |
3 | --- a/CHANGELOG | |
4 | +++ b/CHANGELOG | |
5 | @@ -21,6 +21,7 @@ | |
6 | - if there's no "automount" entry in nsswitch.conf use "files" source. | |
7 | - add LDAP schema discovery if no schema is configured. | |
8 | - add random selection as a master map entry option. | |
9 | +- fix couple of edge case parse fails of timeout option. | |
10 | ||
11 | 18/06/2007 autofs-5.0.2 | |
12 | ----------------------- | |
13 | diff --git a/lib/master_tok.l b/lib/master_tok.l | |
14 | index 013a15a..2735223 100644 | |
15 | --- a/lib/master_tok.l | |
16 | +++ b/lib/master_tok.l | |
17 | @@ -313,7 +313,7 @@ OPTTOUT (-t{OPTWS}|-t{OPTWS}={OPTWS}|--timeout{OPTWS}|--timeout{OPTWS}={OPTWS}) | |
18 | return(DDASH); | |
19 | } | |
20 | ||
21 | - {OPTTOUT} { return(OPT_TIMEOUT); } | |
22 | + {OPTTOUT}/{NUMBER} { return(OPT_TIMEOUT); } | |
23 | ||
24 | {NUMBER} { | |
25 | master_lval.longtype = atol(master_text); |