summaryrefslogtreecommitdiffstats
path: root/test/TEST-23-UNIT-FILE/TEST-23-UNIT-FILE.units/TEST-23-UNIT-FILE-oneshot-restartforce.sh
blob: 4c9e10b2cbcd77531db38bb74e2a99ac3a942f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail

if [[ -f "$1" ]]; then
    exit 0
fi

touch "$1"
exit 2