]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: missing "die"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 Nov 2018 05:56:20 +0000 (14:56 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Nov 2018 07:57:28 +0000 (08:57 +0100)
Follow-up for a41ff38b0999fb83464309a29b8f39450b8d4b85.

test/udev-test.pl

index a1c24f49b47537f7a4277fa93b14225c59e10dc0..61bd3d703a1ab939683f40493c851aa65d0d9a2a 100755 (executable)
@@ -1544,7 +1544,7 @@ sub udev_setup {
         # even if the parent directory has setgid bit enabled.
         chown (0, 0, $udev_dev) || die "unable to chown $udev_dev\n";
         chmod (0755, $udev_dev) || die "unable to chmod $udev_dev\n";
-        system("mknod", $udev_dev . "/null", "c", "1", "3") && "unable to create $udev_dev/null";
+        system("mknod", $udev_dev . "/null", "c", "1", "3") && die "unable to create $udev_dev/null";
 
         system("cp", "-r", "test/sys/", $udev_sys) && die "unable to copy test/sys";