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

@@@ -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) {