summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-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 2866fdb77a..33a76ad292 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -2405,7 +2405,7 @@ sub major_minor_test {
}
sub udev_setup {
- system("umount", $udev_tmpfs);
+ system("umount \"$udev_tmpfs\" 2>/dev/null");
rmdir($udev_tmpfs);
mkdir($udev_tmpfs) || die "unable to create udev_tmpfs: $udev_tmpfs\n";