act-runner: fixed bashism

This commit is contained in:
Tim Biermann 2024-08-22 22:18:52 +02:00
parent e199753750
commit e70c11b30d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3z5LAWHkyrzKzQkuO46mFXGnKigm8uhipAKkSUFe+WlN13xncMWfYcCRnHq0KwfTjuSw0D+rCjABPXWEtvtbPwQ=
RWSagIOpLGJF3/sV7+mEhdQUL2tbZCFDsSInCgQuYC8c3YqVNA59uZyZB/9UaCtPS+B6A9X3KOypJlko2/hKkaexeBj2/Dp8xw4=
SHA256 (Pkgfile) = b1ac0297d3274032e0c94447b91f47b4be23f1678e1714c0222f29e683064306
SHA256 (.footprint) = 168634e10cd7f2cd7850998d4e98ca95740acc02c2112466957705043ca7713e
SHA256 (act-runner-0.2.10.tar.gz) = 624875d8f07b0067d80bfe992074a528639ec99f7a2ffc497964c3e493d0c4a7
SHA256 (act-runner.service) = 0aa4b1a3d379916342465ed90fc46fcfc623bc0e81f61563485a9992b67d1ee7
SHA256 (act-runner.service) = ba0cc12c5d938c55b10c610a1af823b7d1fa2274f49f679b2a0750b727468041

View File

@ -10,7 +10,7 @@ OPTS="daemon --config config.yaml"
case $1 in
start)
if [[ $(/etc/rc.d/docker status) =~ "is not" ]]; then
if /etc/rc.d/docker status | grep -q "is not"; then
echo "[ERR] This service depends on docker running!"
exit 1
fi