]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix a typo in the cleanup stuff
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 22 May 2023 10:06:16 +0000 (12:06 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 22 May 2023 10:39:47 +0000 (12:39 +0200)
test/units/testsuite-07.mount-invalid-chars.sh

index 617ea697c8de0f48d4d444fc0735b4a5f273983e..b70e6211260859d0379dc5a3f444dfa01f12f22c 100755 (executable)
@@ -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
 }