diff options
author | pennae <github@quasiparticle.net> | 2022-01-09 08:46:55 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-03-12 00:48:52 +0100 |
commit | 40a35299fa30421de85a56f084f6c59d05ea883e (patch) | |
tree | 563048cbb3cb7b4fdc870e1e3406b1738d0ec43a /nixos/tests/empty-file | |
parent | 74f542c42e5bca4f74f53cf7054c8a93d4736f51 (diff) |
nixos: add functions and documentation for escaping systemd Exec* directives
it's really easy to accidentally write the wrong systemd Exec* directive, ones that works most of the time but fails when users include systemd metacharacters in arguments that are interpolated into an Exec* directive. add a few functions analogous to escapeShellArg{,s} and some documentation on how and when to use them.
Diffstat (limited to 'nixos/tests/empty-file')
-rw-r--r-- | nixos/tests/empty-file | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/nixos/tests/empty-file b/nixos/tests/empty-file
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/nixos/tests/empty-file
|