]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix check in test unit in TEST-50-DISSECT
authorLuca Boccassi <bluca@debian.org>
Wed, 27 Sep 2023 00:37:59 +0000 (01:37 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 2 Oct 2023 13:02:32 +0000 (14:02 +0100)
'[[ not found'

test/units/testsuite-50.sh

index 44889779ccb2810bee4b125736884ec98c45d2f3..7bede7da1ab8f3e769c4b640679edea8689ce723 100755 (executable)
@@ -351,7 +351,7 @@ MountAPIVFS=yes
 PrivateTmp=yes
 ExecStart=/bin/sh -c ' \\
     systemd-notify --ready; \\
-    while [[ ! -f /tmp/img/usr/lib/os-release ]] || ! grep -q -F MARKER /tmp/img/usr/lib/os-release; do \\
+    while [ ! -f /tmp/img/usr/lib/os-release ] || ! grep -q -F MARKER /tmp/img/usr/lib/os-release; do \\
         sleep 0.1; \\
     done; \\
     mount; \\