mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
test/udev-test.pl: suppress umount error message at startup
umount emits an error message "no mount point specified" if the tmpfs isn't mounted yet, which is the normal case. Suppress that by redirecting stderr.
This commit is contained in:
parent
0ed1b64469
commit
f1cb086054
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue