FIX: Reverted status message of copy_logrotate.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
parent
c3a1c63e94
commit
3e2413f73a
@ -109,9 +109,9 @@ function copy_logrotate {
|
||||
template="/etc/logrotate.d/webcamd"
|
||||
logrotatefile="${HOME}/crowsnest/file_templates/logrotate_webcamd"
|
||||
if [ -n "$(diff_files "${template}" "${logrotatefile}")" ]; then
|
||||
echo -e "Copying logrotate file ... [OK]\r"
|
||||
sudo cp -rf "${logrotatefile}" "${template}" > /dev/null
|
||||
echo -en "Copying logrotate file ...\r"
|
||||
sudo cp -rf "${logrotatefile}" "${template}" > /dev/null
|
||||
echo -e "Copying logrotate file ... [OK]\r"
|
||||
else
|
||||
echo -e "No update of 'logrotate/webcamd' required."
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user