From: Frantisek Sumsal Date: Mon, 22 May 2023 10:06:16 +0000 (+0200) Subject: test: fix a typo in the cleanup stuff X-Git-Tag: v254-rc1~419^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7942811255f3d6973b246ebf6b26b690bbceab37;p=thirdparty%2Fsystemd.git test: fix a typo in the cleanup stuff --- diff --git a/test/units/testsuite-07.mount-invalid-chars.sh b/test/units/testsuite-07.mount-invalid-chars.sh index 617ea697c8d..b70e6211260 100755 --- a/test/units/testsuite-07.mount-invalid-chars.sh +++ b/test/units/testsuite-07.mount-invalid-chars.sh @@ -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 }