core/dynamic-users: warn when creation of symlinks for dynamic users fails
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Aug 2016 03:09:29 +0000 (23:09 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Aug 2016 03:09:29 +0000 (23:09 -0400)
commit986a34a6834795f1a2d25bcffbe67debf9bbd6b2
tree65ca72c212db3dda331814713f52fc45a84728f7
parent6e32c03ed87e5dfd3857013e909e48b5e61564c1
core/dynamic-users: warn when creation of symlinks for dynamic users fails

Also return the first error, since it's most likely to be interesting.
If unlink fails, symlink will usually return EEXIST.
src/core/dynamic-user.c