chiark / gitweb /
udev-builtin: uaccess - inherit logging form udev
authorTom Gundersen <teg@jklm.no>
Sat, 19 Oct 2013 10:13:25 +0000 (12:13 +0200)
committerTom Gundersen <teg@jklm.no>
Sat, 19 Oct 2013 10:23:17 +0000 (12:23 +0200)
Not that it makes a difference in this builtin, but otherwise /etc/udev/udev.conf is not respected.

src/udev/udev-builtin-uaccess.c

index 354ee08f28bd262911d321bf25ef756989621a5b..ddb015744f2afb0ee1ca85b3cb219192124fbaca 100644 (file)
@@ -41,10 +41,6 @@ static int builtin_uaccess(struct udev_device *dev, int argc, char *argv[], bool
         bool changed_acl = false;
         uid_t uid;
 
         bool changed_acl = false;
         uid_t uid;
 
-        log_set_target(LOG_TARGET_AUTO);
-        log_parse_environment();
-        log_open();
-
         umask(0022);
 
         /* don't muck around with ACLs when the system is not running systemd */
         umask(0022);
 
         /* don't muck around with ACLs when the system is not running systemd */