diff options
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-x | test/udev-test.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 35a2668fb3..129af854f1 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1538,15 +1538,15 @@ if (!($<==0)) { # skip the test when running in a chroot system("systemd-detect-virt", "-r", "-q"); if ($? >> 8 == 0) { - print "Running in a chroot, skipping the test.\n"; - exit($EXIT_TEST_SKIP); + print "Running in a chroot, skipping the test.\n"; + exit($EXIT_TEST_SKIP); } # skip the test when running in a container system("systemd-detect-virt", "-c", "-q"); if ($? >> 8 == 0) { - print "Running in a container, skipping the test.\n"; - exit($EXIT_TEST_SKIP); + print "Running in a container, skipping the test.\n"; + exit($EXIT_TEST_SKIP); } udev_setup(); |