From e62a2463ecd4189c5097f5d96fff83300a387c60 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 1 Nov 2009 21:51:31 +0100 Subject: [PATCH] mdev: do not die on mknod errors Signed-off-by: Denys Vlasenko --- util-linux/mdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 6640acfe4..bbf7f20bd 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -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) { -- 2.25.1