diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-02-14 20:33:59 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-02-14 20:33:59 +0000 |
| commit | e2630f644fcb41ca2f9cba64a2e4416043b59fda (patch) | |
| tree | 7085f6062ed06e7ff08e86ec158aa3161cdb19e9 /sysutils/nut/files | |
| parent | 6dab2add282bd1437203e9b3e629123e2d044888 (diff) | |
sysutils/nut*: Fix syntax error
Add missing then.
PR: 269497
Reported by: <vvd@unislabs.com>
Fixes: 6558c2506990
Diffstat (limited to 'sysutils/nut/files')
| -rw-r--r-- | sysutils/nut/files/nut.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in index c9a86debbe32..ac68c0d7649c 100644 --- a/sysutils/nut/files/nut.in +++ b/sysutils/nut/files/nut.in @@ -39,7 +39,7 @@ nut_prestart() { # Instead UID/GID nut is used. Make sure preexisting nut files # and directories are owned by nut instead of uucp. # - if [ "${nut_file_fixup}" == "YES" ] + if [ "${nut_file_fixup}" == "YES" ]; then find ${nut_prefix}/etc/nut -user uucp -exec chown %%NUT_USER%% {} \; find ${nut_prefix}/etc/nut -group uucp -exec chgrp %%NUT_GROUP%% {} \; find %%STATEDIR%% -user uucp -exec chown %%NUT_USER%% {} \; |
