mdev: do not die on mknod errors
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Nov 2009 20:51:31 +0000 (21:51 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Nov 2009 20:51:31 +0000 (21:51 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c

index 6640acf..bbf7f20 100644 (file)
@@ -331,7 +331,7 @@ static void make_device(char *path, int delete)
 
                        if (!delete && major >= 0) {
                                if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST)
-                                       bb_perror_msg_and_die("can't create %s", node_name);
+                                       bb_perror_msg("can't create %s", node_name);
                                if (major == root_major && minor == root_minor)
                                        symlink(node_name, "root");
                                if (ENABLE_FEATURE_MDEV_CONF) {