aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut-devel/files/nut.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut-devel/files/nut.in')
-rw-r--r--sysutils/nut-devel/files/nut.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/nut-devel/files/nut.in b/sysutils/nut-devel/files/nut.in
index c9a86debbe32..ac68c0d7649c 100644
--- a/sysutils/nut-devel/files/nut.in
+++ b/sysutils/nut-devel/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%% {} \;