Update soup to rotate log file

This commit is contained in:
Doug Burks
2023-08-04 12:26:36 -04:00
committed by GitHub
parent 209da766ba
commit 63373710b4

View File

@@ -974,7 +974,7 @@ shift $((OPTIND - 1))
if [ -f $SOUP_LOG ]; then if [ -f $SOUP_LOG ]; then
CURRENT_TIME=$(date +%Y%m%d.%H%M%S) CURRENT_TIME=$(date +%Y%m%d.%H%M%S)
mv $SOUP_LOG $SOUP_LOG.$INSTALLEDVERSION.CURRENT_TIME mv $SOUP_LOG $SOUP_LOG.$INSTALLEDVERSION.$CURRENT_TIME
fi fi
if [[ -z $UNATTENDED ]]; then if [[ -z $UNATTENDED ]]; then