[lxc-devel] [lxc/lxc] ba3f32: cgm_destroy: ignore a NULL d->cgroup_path

GitHub noreply at github.com
Mon Mar 10 17:03:18 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ba3f32cf15d4911fecfd69a01fcbcc1f5c5b9535
      https://github.com/lxc/lxc/commit/ba3f32cf15d4911fecfd69a01fcbcc1f5c5b9535
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgm_destroy: ignore a NULL d->cgroup_path

Depending on where during container creation we failed, cgroup_path
may be NULL.  Don't try to delete the cgroup in that case.

(Also fix a wrong function name in an ERROR message)

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list