mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03: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…
x
Reference in New Issue
Block a user