]> git.ipfire.org Git - thirdparty/lxc.git/commit
Accept more word delimiters when updating hooks
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 21 Jun 2013 19:15:42 +0000 (14:15 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 24 Jun 2013 18:56:03 +0000 (13:56 -0500)
commitae3f8cf9a4a03c62c6c12968b38b2352388df91c
tree535a5e6e4fa3efdc677e2551a3eaea4df7d7256e
parent618fa49dddbedd2b7319c0089dffd8d65aef8369
Accept more word delimiters when updating hooks

When updating container names in hook files during a container clone,
we substitute the new container name for the old any time the old name
shows up as a separate word.  This patch adds the four characters
'.,_-' as additional delimiters.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c