1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

test: fix a typo in the cleanup stuff

This commit is contained in:
Frantisek Sumsal 2023-05-22 12:06:16 +02:00
parent 9a1ebef378
commit 7942811255

View File

@ -7,7 +7,7 @@ set -o pipefail
at_exit() {
mountpoint -q /proc/1/mountinfo && umount /proc/1/mountinfo
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab /etc/fstab
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab.bak /etc/fstab
rm -f /run/systemd/system/foo-*.mount
systemctl daemon-reload
}