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

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-22 09:24:14 +01:00
parent 6b08180ca6
commit a5935c6601
1 changed files with 1 additions and 1 deletions

View File

@ -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}))'"