]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix cleanup function
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 03:11:06 +0000 (12:11 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 15 Feb 2024 08:37:10 +0000 (09:37 +0100)
Follow-up for 8349bbdfd829c80fc5eabaca6c9d0afed28d1b3f.

test/units/testsuite-46.sh

index 26e71afecd7bda9e162e09b87c98fbc206060d3f..ec0f24b2381116bfec8fd26e168f73f1d057af0e 100755 (executable)
@@ -322,7 +322,7 @@ if command -v ssh &> /dev/null && command -v sshd &> /dev/null && ! [[ -v ASAN_O
         rm -f /tmp/homed.id_rsa /run/systemd/system/mysshserver.socket /run/systemd/system/mysshserver@.service
         systemctl daemon-reload
         homectl remove homedsshtest ||:
-        mv /etc/pam.d/sshd.save46 mv /etc/pam.d/sshd
+        mv /etc/pam.d/sshd.save46 /etc/pam.d/sshd
     }
 
     trap at_exit EXIT