fix(update): fixes error in func copy_logrotate
set wrong variable in function Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
parent
c60cf2fd49
commit
1aa310341f
@ -154,7 +154,7 @@ function copy_logrotate {
|
||||
if [ ! "${BASE_USER}" == "pi" ]; then
|
||||
cp -rf "${origin}" /tmp/logrotate_webcamd
|
||||
sudo sed -i 's|pi|'"${BASE_USER}"'|g' /tmp/webcamd.service
|
||||
servicefile="/tmp/logrotate_webcamd"
|
||||
logrotatefile="/tmp/logrotate_webcamd"
|
||||
else
|
||||
logrotatefile="${HOME}/crowsnest/file_templates/logrotate_webcamd"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user