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@canonical.com>
Showing
Please
register
or
sign in
to comment