~serge-hallyn/ubuntu/quantal/lxc/lxc-fixapi

« back to all changes in this revision

Viewing changes to debian/lxc.lxc-net.upstart

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-05-21 08:26:25 UTC
  • Revision ID: package-import@ubuntu.com-20120521082625-tdxqnsv9lhph22mn
Tags: 0.8.0~rc1-4ubuntu9
debian/lxc-net.upstart: don't put '()' after call to cleanup.
(LP: #1000174)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        brctl addbr ${LXC_BRIDGE}
40
40
        ifconfig ${LXC_BRIDGE} ${LXC_ADDR} netmask ${LXC_NETMASK} up
41
41
        iptables -A POSTROUTING -s ${LXC_NETWORK} -t nat -j MASQUERADE
42
 
        dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=${varrun}/dnsmasq.pid --conf-file= --listen-address ${LXC_ADDR} --dhcp-range ${LXC_DHCP_RANGE} --dhcp-lease-max=${LXC_DHCP_MAX} --dhcp-no-override --except-interface=lo --interface=${LXC_BRIDGE} || cleanup()
 
42
        dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=${varrun}/dnsmasq.pid --conf-file= --listen-address ${LXC_ADDR} --dhcp-range ${LXC_DHCP_RANGE} --dhcp-lease-max=${LXC_DHCP_MAX} --dhcp-no-override --except-interface=lo --interface=${LXC_BRIDGE} || cleanup
43
43
        touch ${varrun}/network_up
44
44
end script
45
45