21255d
From 70bf708d5360372aa541e25ff512609230781dd6 Mon Sep 17 00:00:00 2001
21255d
From: Yu Watanabe <watanabe.yu+github@gmail.com>
21255d
Date: Wed, 7 Nov 2018 14:56:20 +0900
21255d
Subject: [PATCH] test: missing "die"
21255d
21255d
Follow-up for a41ff38b0999fb83464309a29b8f39450b8d4b85.
21255d
21255d
(cherry picked from commit 11d93952ea806de2b6e9fb381153115cccc7b5e8)
21255d
21255d
Related: #1642728
21255d
---
21255d
 test/udev-test.pl | 2 +-
21255d
 1 file changed, 1 insertion(+), 1 deletion(-)
21255d
21255d
diff --git a/test/udev-test.pl b/test/udev-test.pl
21255d
index a1c24f49b4..61bd3d703a 100755
21255d
--- a/test/udev-test.pl
21255d
+++ b/test/udev-test.pl
21255d
@@ -1544,7 +1544,7 @@ sub udev_setup {
21255d
         # even if the parent directory has setgid bit enabled.
21255d
         chown (0, 0, $udev_dev) || die "unable to chown $udev_dev\n";
21255d
         chmod (0755, $udev_dev) || die "unable to chmod $udev_dev\n";
21255d
-        system("mknod", $udev_dev . "/null", "c", "1", "3") && "unable to create $udev_dev/null";
21255d
+        system("mknod", $udev_dev . "/null", "c", "1", "3") && die "unable to create $udev_dev/null";
21255d
 
21255d
         system("cp", "-r", "test/sys/", $udev_sys) && die "unable to copy test/sys";
21255d