summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-07 14:56:20 +0900
committerLennart Poettering <lennart@poettering.net>2018-11-07 08:57:28 +0100
commit11d93952ea806de2b6e9fb381153115cccc7b5e8 (patch)
tree62e4e26946e4d74020b3aaeaf21a9b223f3f259e /test
parent44f7190c2d0f9204fdd01d1f692ecc0bcd0c4280 (diff)
downloadsystemd-11d93952ea806de2b6e9fb381153115cccc7b5e8.tar.gz
systemd-11d93952ea806de2b6e9fb381153115cccc7b5e8.tar.bz2
systemd-11d93952ea806de2b6e9fb381153115cccc7b5e8.zip
test: missing "die"
Follow-up for a41ff38b0999fb83464309a29b8f39450b8d4b85.
Diffstat (limited to 'test')
-rwxr-xr-xtest/udev-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index a1c24f49b4..61bd3d703a 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -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";