[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 1/3] ts-xen-install: nodhcp: Fix iface regexp
This regexp would never match because of the spurious $. Remove the $ and also the preceding unnecessary \s*. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- ts-xen-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index 4a810e4..70e90ed 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -221,7 +221,7 @@ sub nodhcp () { next unless m{^ \s* ( auto \s+ (\S+) ) \s* $}x || m{^ \s* ( allow-hotplug \s+ (\S+) ) \s* $}x || - m{^ \s* ( iface \s+ (\S+) \s+ inet \s+ ) \s* $}x ; + m{^ \s* ( iface \s+ (\S+) \s+ inet \s+ ) }x ; push @{ $candidates{$2} }, $1; } EI->error and die $!; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |