diff options
author | Arthur Taylor <art@ified.ca> | 2018-02-13 11:51:19 -0800 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-03-07 16:49:51 +0100 |
commit | e38c16d909d17371c8ec6e090f07da7a1f528ce6 (patch) | |
tree | f095bba2272631f634b36a77f3a00938d328c13a /src | |
parent | 316e8d849fc1d34b61d27f2967e0ede84fe9f46d (diff) |
uaccess-command: [trivial] Differentiate apply vs reset error log messages.
Also change systemd to logind in a comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/uaccess-command/uaccess-command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uaccess-command/uaccess-command.c b/src/uaccess-command/uaccess-command.c index efb9dcd62..df790e134 100644 --- a/src/uaccess-command/uaccess-command.c +++ b/src/uaccess-command/uaccess-command.c @@ -40,7 +40,7 @@ static int dev_uaccess(const char *path, const char *seat) { umask(0022); - /* don't muck around with ACLs when the system is not running systemd */ + /* don't muck around with ACLs when the system is not running logind */ if (!logind_running()) return 0; @@ -73,7 +73,7 @@ finish: /* Better be safe than sorry and reset ACL */ k = devnode_acl(path, true, false, 0, false, 0); if (k < 0) { - log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_ERR, k, "Failed to apply ACL on %s: %m", path); + log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_ERR, k, "Failed to reset ACL on %s: %m", path); if (r >= 0) r = k; } |