]>
Commit | Line | Data |
---|---|---|
084575ff | 1 | #!/bin/bash |
7b3cec95 | 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
e04fc13f FB |
3 | # |
4 | # With "e" don't attempt to set permissions when file doesn't exist, see | |
5 | # https://github.com/systemd/systemd/pull/6682. | |
084575ff FS |
6 | set -eux |
7 | set -o pipefail | |
e04fc13f FB |
8 | |
9 | rm -fr /tmp/test | |
10 | ||
11 | echo "e /tmp/test - root root 1d" | systemd-tmpfiles --create - | |
12 | ||
ffa328f0 | 13 | test ! -e /tmp/test |