]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #7913 from sourcejedi/devpts
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 18 Jan 2018 21:56:26 +0000 (21:56 +0000)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2018 21:56:26 +0000 (21:56 +0000)
3 nitpicks from core/namespace.c

1  2 
src/core/namespace.c

index e1a9d7a92dcff6ca83be49d7003675bd4964303b,19678e6d57c82b38a808ed69f49e194d22ef198a..e030a575973ef3e303bf901b7725d0d1de597aa9
@@@ -523,9 -523,9 +523,9 @@@ static int clone_device_node(const cha
          mac_selinux_create_file_clear();
  
          if (r < 0)
 -                return -errno;
 +                return log_debug_errno(errno, "mknod failed for %s: %m", d);
  
-         return 0;
+         return 1;
  }
  
  static int mount_private_dev(MountEntry *m) {