summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>2023-04-20 13:00:37 +0100
committerJoonas Niilola <juippis@gentoo.org>2023-05-07 10:22:53 +0300
commit9f8e94fb99dd3ab07781da1fada17467bfd73179 (patch)
treee939a9e44149154aef6cd3db9bd1b687d897b692 /media-video/motion
parentapp-text/xlsx2csv: remove 0.7.6, 0.8.1 (diff)
downloadgentoo-9f8e94fb99dd3ab07781da1fada17467bfd73179.tar.gz
gentoo-9f8e94fb99dd3ab07781da1fada17467bfd73179.tar.bz2
gentoo-9f8e94fb99dd3ab07781da1fada17467bfd73179.zip
media-video/motion: fix MOTION_LOGFILE in init.d
Signed-off-by: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt> Closes: https://github.com/gentoo/gentoo/pull/30666 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/motion')
-rw-r--r--media-video/motion/files/motion.initd-r52
1 files changed, 1 insertions, 1 deletions
diff --git a/media-video/motion/files/motion.initd-r5 b/media-video/motion/files/motion.initd-r5
index b13ac5d0b5b7..315bda6c2e7f 100644
--- a/media-video/motion/files/motion.initd-r5
+++ b/media-video/motion/files/motion.initd-r5
@@ -20,7 +20,7 @@ start_pre() {
directory="${MOTION_DIR}"
fi
if [ "${MOTION_LOGFILE}" ] ; then
- checkpath -f -o "${MOTION_USER}":"${MOTION_GROUP}" "${LOGFILE}"
+ checkpath -f -o "${MOTION_USER}":"${MOTION_GROUP}" "${MOTION_LOGFILE}"
fi
if [ "${MOTION_PIDFILE}" ] ; then
pidfile="${MOTION_PIDFILE}"