core: add ':' prefix to ExecXYZ= skip env var substitution
This commit is contained in:
committed by
Lennart Poettering
parent
542e546010
commit
7ca69792e5
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Test for No Environment Variable Substitution
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2}" = "word3" && test "$${VAR3-unset}" = \'$word 5 6\''
|
||||
ExecStart=:/bin/sh -x -c 'test "$${VAR1-unset}" != "unset" && test "$${VAR2}" != "word3" && test "$${VAR3-unset}" != \'$word 5 6\''
|
||||
Type=oneshot
|
||||
Environment="VAR2=word3" "VAR3=$word 5 6"
|
||||
Reference in New Issue
Block a user