[lxc-devel] [lxc/lxc] 438c96: lxc-test-unpriv: check user existence before remov...

GitHub noreply at github.com
Wed Nov 22 11:48:20 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 438c96e96a91388b91d02c18b5e0d6c89816ae5a
      https://github.com/lxc/lxc/commit/438c96e96a91388b91d02c18b5e0d6c89816ae5a
  Author: Po-Hsu Lin <po-hsu.lin at canonical.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M src/tests/lxc-test-unpriv

  Log Message:
  -----------
  lxc-test-unpriv: check user existence before removing it

Check the test user (lxcunpriv) before calling deluser command,
otherwise it will print unnecessary error message:
/usr/sbin/deluser: The user 'lxcunpriv' does not exist.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>


  Commit: 0ad2353255203bd0e26ba859a47d141603d43f0d
      https://github.com/lxc/lxc/commit/0ad2353255203bd0e26ba859a47d141603d43f0d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M src/tests/lxc-test-unpriv

  Log Message:
  -----------
  Merge pull request #1936 from Cypresslin/user-del-mute

lxc-test-unpriv: check user existence before removing it


Compare: https://github.com/lxc/lxc/compare/27b54094d0fa...0ad235325520


More information about the lxc-devel mailing list