Drop synlink with no referent

... to fix the rsync error in transferring logs.

Change-Id: I160eca3c7eb79a9bb4d3b3fe5cbe1dc384a84cdd
(cherry picked from commit 0a058b2bd0)
This commit is contained in:
Takashi Kajinami 2024-09-24 00:32:27 +09:00 committed by Michal Nasiadka
parent 2045ffb5cc
commit b82bd6ae51

View File

@ -6,6 +6,7 @@
mkdir -p logs mkdir -p logs
# copy system log # copy system log
sudo cp -r /var/log logs/system_log sudo cp -r /var/log logs/system_log
sudo rm -f logs/system_log/README
if which journalctl ; then if which journalctl ; then
# the journal gives us syslog() and kernel output, so is like # the journal gives us syslog() and kernel output, so is like
# a concatenation of the above. # a concatenation of the above.