test-execute: use bash instead of perl

I think this is easier to grok too.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-08 12:24:37 +02:00
parent 21ec66420a
commit b370f050f8

View file

@ -4,4 +4,4 @@ Description=https://github.com/systemd/systemd/issues/2637
[Service]
Type=oneshot
ExecStart=/bin/sh -x -c "! test -x perl || perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"
ExecStart=/bin/bash -x -c "[[ %%U == ?U ]]"