test-execute: skip exec-specifier-interpolation if perl is missing

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-03-22 15:57:56 +01:00
parent 6b08180ca6
commit a5935c6601
@@ -3,4 +3,4 @@ Description=https://github.com/systemd/systemd/issues/2637
[Service]
Type=oneshot
ExecStart=/bin/sh -x -c "perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"
ExecStart=/bin/sh -x -c "! test -x perl || perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"